Solved

DNS & CNAME issue

Posted on 2006-11-07
8
570 Views
Last Modified: 2013-12-23
Help!

I've a really urgent issue with a BIND DNS server.

I needed to add an A record for a server to the mydomain.be zone, I also noticed there was a CNAME for the same server pointing somewhere else, so I deleted it and just added the A record, changed the serial number and saved.

Now more than 12 hours later the url is still pointing to the CNAME and not the new A record.

I'm stuck; I've checked everything I can think of... Any help much appreciated as quickly as possible.

Thanks!


0
Comment
Question by:Sunny-Brussels
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 17888443
> Now more than 12 hours later the url is still pointing to the CNAME and not the new A record.
have You restarted named as well?
It's normal that propagation of the record lasts from 1 upto 2 days. It depends on the TTL value You set.
To verify Your nameserver ask him directly:
host the.name.to.ask ip.of.Your.dnsserver
host -a the.name.to.ask ip.of.Your.dnsserver
0
 

Author Comment

by:Sunny-Brussels
ID: 17888500
Thanks for the quick reply.

Yes, I have restarted named, and I've typed in the commands you mention and indeed it still does have a CNAME pointing to another server. Looks like the TTL is set to 600.

0
 
LVL 43

Expert Comment

by:ravenpl
ID: 17888516
If it still serves the CNAME, then it propably uses another configuration file from the one You used, OR it was not really restarted.
BTW: You sure You are changing it on master nameserver - not slave?
verify if serial was bumped to the value You set with: host -t soa domain.to.ask ip.of.server
0
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 
LVL 43

Expert Comment

by:ravenpl
ID: 17888533
bind usually runs in chroot - that's why it's possible that You modified wrong file.
eg.
there is
/var/named/somedoman.tld
and
/var/named/var/named/somedoman.tld

sometimes startup script (like /etc/rc.d/init.d/named) populates the changes, sometimes doesn't.
0
 

Author Comment

by:Sunny-Brussels
ID: 17888659
There are 2 DNS servers here, wires were crossed and I was working on the secondary, which I am told is a reverse proxy for mydomain.be.

So, I have gone to DNS1, and looked in the master directory and edited the mydomain.be config file, there was no CNAME line for my server anyhow, so I just added the A record.

I did the query you mention, it says 2006080201 in the zone file it says 2006080204

No change, still points to the CNAME :(



0
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
ID: 17888743
I'm sorry, but You have to find proper config to modify
host -t soa mydomain.be # will tell You where the master nameserver is(if it's configures properly) - it's the first value from SOA record.
Find it's IP, go there, modify the proper zone file, restart(make the named not running for sure).
I will not help You anymore - I will not find the proper config for You, but read /etc/named.conf file to find it out. Also note my previous note: bind can run chrooted, then all paths should be extended with chroot prefix (eg. /var/named).
0
 

Author Comment

by:Sunny-Brussels
ID: 17888941
I was in the right file.

 I managed to get a result by doing a# kill -HUP # on the process.

You helped me and I'm grateful for that and I've learnt somethings I didn't know.

Thanks!
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 17888970
> I managed to get a result by doing a# kill -HUP # on the process.
It only shows, that named was not restarted!
HUP instructs running named to reread configuration files.
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question