LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-05-2011, 03:03 AM   #1
mariogarcia
Member
 
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 192

Rep: Reputation: 31
resolve cname of a cname with a bind dns server


hello
there's this issue I do not understand.

there's this domain, that is apparently a cname of a cname which is, i know, not recommended, but it's not forbidden by the rfc.

the domain is www.groenegordel.be. if i try with windows or bind dns i get this results in nslookup


** server can't find www.groenegordel.be: NXDOMAIN

but if i try with opendns I have some results.
> www.groenegordel.be
Server: 208.67.222.222
Address: 208.67.222.222#53

Non-authoritative answer:
www.groenegordel.be canonical name = www.vlaamsbrabant.be.
www.vlaamsbrabant.be canonical name = waf.vlaamsbrabant.be.
Name: waf.vlaamsbrabant.be
Address: 193.53.37.42

with this I see it's a www.groenegordel.be it's a cname or a cname.
is there a way to force bind to resolve this domain? is this a limitation of bind?

thank you in advance.

Mario
 
Old 05-05-2011, 03:51 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
It works here:
Quote:
; <<>> DiG 9.7.3 <<>> www.groenegordel.be
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59954
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;www.groenegordel.be. IN A

;; ANSWER SECTION:
www.groenegordel.be. 86400 IN CNAME www.vlaamsbrabant.be.
www.vlaamsbrabant.be. 86400 IN CNAME waf.vlaamsbrabant.be.
waf.vlaamsbrabant.be. 86400 IN A 193.53.37.42

;; AUTHORITY SECTION:
vlaamsbrabant.be. 86400 IN NS ns.belnet.be.
vlaamsbrabant.be. 86400 IN NS proxy1.vlaamsbrabant.be.

;; ADDITIONAL SECTION:
ns.belnet.be. 604799 IN A 193.190.198.14
ns.belnet.be. 604799 IN A 193.190.182.40

;; Query time: 477 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu May 5 11:49:17 2011
;; MSG SIZE rcvd: 180
Maybe you use wrong forwarders or something
 
Old 05-09-2011, 06:16 AM   #3
mariogarcia
Member
 
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 192

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by bathory View Post
It works here:
Maybe you use wrong forwarders or something
are you using also bind?

thank you
 
Old 05-09-2011, 07:32 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
Yes, I'm running bind.
 
  


Reply

Tags
bind, cname


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bind and cname skoinga Linux - Server 6 12-10-2010 09:21 AM
Dns cname abakhiet Linux - Server 3 06-01-2010 03:35 AM
BIND 9 CNAME propagation issue rahmad Linux - Server 5 08-15-2008 02:35 AM
DNS and CNAME noir911 Linux - Server 3 05-06-2008 01:45 PM
Bind CNAME Problem CleonII Linux - Software 1 11-01-2005 09:27 AM


All times are GMT -5. The time now is 04:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration