LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS Bind question (http://www.linuxquestions.org/questions/linux-networking-3/dns-bind-question-110658/)

phowarth 10-30-2003 10:20 PM

DNS Bind question
 
BIND 9 DNS Issue

We have a small internal DNS server set up that is working great for both forward and reverse lookups of our machine names with one exception. We decided recently to move our Web and email to an external hosting service and now we can not access the URL because the local DNS server thinks that it is the SOA for that domain.

i.e when we enter our web site into the browser it searches the internal DNS and can't resolve the name. Since our internal DNS is the SOA for domain.com.

I have tried using an A record to point to the IP I get when pinging the URL from an external DNS server , but that does not work.

Is there a way to make DNS lookup URL on an external (ie ISP) DNS server, but do all othe rlookups for the domain on the intrnal server?

I have tried putting the ISP's DNS as a second entry in the resolv.conf file but that does not seem to work. It appears to stop seaching after the failure to locate the record on the internal DNS.

Any help is appreciated.

Thanks
Paul

Robert0380 10-31-2003 02:31 AM

delete all the old records, increment the serial number and do an "rndc reload" to reaload the zone files. I'm not fully understanding what is going on. Do you have a real domain name purchases from a registrar? If so, does your external webserver use your domain name? If so, you'll have to add an A record for new IP of your external server, increment the serial and reload the zones. Incrementing the serial number is very important by the way. If you dont, the zone files dont get re-read.


All times are GMT -5. The time now is 12:32 PM.