Click to See Complete Forum and Search --> : Whats the deal with resolve.conf


digitized
08-07-2001, 06:40 AM
Running rh 7.1 and have set up dns server on two pc's.

I'm thinking there a resolve issue for my dns.

##resolve.conf
search mydoman.com (my domain)
nameserver 209.x.x.x (isp's)
nameserver 209.x.x.x (ips's)

I registered my ns1 and ns2 on friday 8-3.
If I change the nameservers in my resolve.conf from my isp's nameservers to my ns1 amd ns2 ip addresses I can no longer connect to the net.

I am able to ping,ftp and telnet to my nameservers.
dig works fine for all domains like google.com etc, but results for my domain.com result in time out server not found.


Do I need to contact my isp? Any Ideas?

MBMarduk
08-07-2001, 07:22 AM
I have NO IDEA, but I'm reading this... http://www.linuxdoc.org/HOWTO/DNS-HOWTO.html

Have you? Maybe it could help you?

digitized
08-07-2001, 10:39 AM
Found on another forum that I may need to add forwarders to my zone entry.

Not real clear on how this works but I'll try it later. Just passing the info along if anyone has any thoughts.

zone "mydomain.com" in {
type forward;
forwarders { 209.x.x.x ;}

I still don't see where my ip addressess for my dns servers come in the picture?

PLBlaze
08-07-2001, 11:49 AM
First make sure that your ns.* entries that were added to your isp's zones propagate corectly (it should take 48hrs to register them in dns).

If you want to use forwarders in your dns then define them like this (note this is for bind 9.x.x series,you might need to modify the entries if using bind 8.x.x series)


options {
directory "/var/named";
forward first;
forwarders {
1.2.3.4;
4.3.2.1;
};
};

Of course supply your isp dns ip's in place of 1.2.3.4 and 4.3.2.1 in this example.Hope this helps.

bdg1983
08-07-2001, 04:45 PM
Typo?

/etc/resolv.conf

No 'e'.