?
Solved

DNS & CNAME issue

Posted on 2006-11-07
8
Medium Priority
?
573 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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
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

Industry Leaders: 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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

762 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