[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

DNS & CNAME issue

Posted on 2006-11-07
8
Medium Priority
?
574 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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 1500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

656 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