NSLOOKUP not finding server
Dave
dave at mossface.com
Tue Dec 16 10:14:24 UTC 2008
Hi,
I'm hoping someone can point out where I'm going wrong as i seem to be going
round in circles!
I am trying to create a DNS server for my office network. I have created a
smb domain (mydomain.now) which i am able to join from my windows pc's but
only while the old windows DNS server is still running (domain =
mydomain.int). As soon as i shut down the windows domain controller and
force the pc's to use the new DNS server an NS lookup fails and i can't
access the internet etc from the PC's.
C:\Program Files\Windows Resource Kits\Tools>nslookup
DNS request timed out.
timeout was 2 seconds.
*** Can't find server name for address 192.168.1.80: Timed out
*** Default servers are not available
Default Server: UnKnown
Address: 192.168.1.80
I have the following hardware:
ADSL router facing the outside world (XX.194.XX.194 external, 192.168.1.254
internal)
Server "myserver" running CENTOS (192.168.1.80)
Internal windows PC's (192.168.1.XXX)
And the following files:
/etc/resolv.conf
domain mydomain.now
search mydomain.now
/var/named/chroot/etc/named.conf
options {
directory "/var/named/chroot/var/named";
pid-file "/var/named/chroot/var/run/named/named.pid";
listen-on { 192.168.1.80; };
};
//--------------------------------------------------------
zone "." {
type hint;
file "db.root";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "db.local";
};
zone "mydomain.now" {
type master;
notify no;
file "pri.mydomain.now";
};
//--------------------------------------------------------
zone "1.168.192.in-addr.arpa" {
type master;
file "192.168.1.rev";
};
/var/named/chroot/var/named/db.local
; reverse pointers for localhost
;
$TTL 1D
$ORIGIN 0.0.127.in-addr.arpa.
@ IN SOA mydomain.now. root.localhost. (
2008111901; serial
28800; refresh, seconds
7200; retry, seconds
604800; expire, seconds
86400 ); minimum, seconds
IN NS dns.mydomain.now.
1 IN PTR localhost.
/var/named/chroot/var/named/pri.mydomain.now
$TTL 86400
@ IN SOA mydomain.now. root.dns.mydomain.now. (
2008111910
28800
7200
604800
86400 )
NS dns.mydomain.now
IN A 192.168.1.80
IN MX 10 mail.mydomain.now.
localhost A 127.0.0.1
myserver A 192.168.1.80
A 87.194.173.194
dns CNAME myserver
mail CNAME myserver
www CNAME myserver
ftp CNAME myserver
svn CNAME myserver
mydomainpc3 A 192.169.1.64
/var/named/chroot/var/named/192.168.1.rev
$ttl 38400
@ IN SOA dns.mydomain.now. root.dns.mydomain.now. (
1 ; Serial
8H ; Refresh
2H ; Retry
1W ; Expire
1D ; Minimum
)
NS dns.mydomain.now.
80 PTR myserver.mydomain.now.
PTR mail.mydomain.now.
64 PTR myserver.mydomain.now.
I have tried about 20 different how-to BIND tutorials and come to nothing.
Any help now would be greatly appreciated.
Thanks in advance.
DP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20081216/6e326b0e/attachment.html>
More information about the bind-users
mailing list