LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-03-2008, 02:04 PM   #1
fortran01
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu
Posts: 8

Rep: Reputation: 0
DNS problem, CNAME not recursively resolving


I am using mydns.

I have the following CNAME record:

Code:
mail  	CNAME  	ghs.google.com.  	0  	86400
If I do a dig, I can see that ghs.google.com is not resolving properly to its A record.

Code:
# dig mail.test.net

; <<>> DiG 9.4.1-P1 <<>> mail.test.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2884
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.test.net.         IN      A

;; ANSWER SECTION:
mail.test.net.  86400   IN      CNAME   ghs.google.com.

The ideal situation would be something like this (observe how www.l.google.com is resolved):

Code:
# dig www.google.com

; <<>> DiG 9.4.1-P1 <<>> www.google.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45264
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         594172  IN      CNAME   www.l.google.com.
www.l.google.com.       146     IN      A       74.125.19.104
www.l.google.com.       146     IN      A       74.125.19.147
www.l.google.com.       146     IN      A       74.125.19.99
www.l.google.com.       146     IN      A       74.125.19.103
TIA!
 
Old 03-03-2008, 03:41 PM   #2
fortran01
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
OK, I got it working. The hint is here:
http://www.maradns.org/tutorial/dangling.html
 
  


Reply



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
DNS resolving problem sunil.13.79 Linux - Server 1 01-01-2008 06:42 PM
Do we really need CNAME records in DNS? ivj Linux - Networking 3 05-19-2006 03:49 PM
Dns & Cname abhijeetudas Linux - Networking 1 09-15-2005 03:32 AM
problem with dns resolving fafis Linux - Networking 3 08-28-2005 07:27 PM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration