|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Hello All,
I set up one of my linux boxes as a DNS (not the machine with the kernel
upgrade). The DNS is resolving names Ok but I get errors when I run dig
and nslookup.
dig gives me;
---------------------------------------------------------
[root@pip] /root:58> dig pip
; <<>> DiG 2.1 <<>> pip
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 6
;; flags: qr rd ra; Ques: 1, Ans: 0, Auth: 0, Addit: 0
;; QUESTIONS:
;; pip, type = A, class = IN
;; Total query time: 24 msec
;; FROM: pip to SERVER: default -- 192.9.200.104
;; WHEN: Tue Nov 3 00:10:18 1998
;; MSG SIZE sent: 21 rcvd: 21
----------------------------------------------------------
and nslookup gives me;
---------------------------------------------------------
[root@pip] /root:59> nslookup pip
*** Can't find server name for address 192.9.200.104: Server failed
*** Default servers are not available
-----------------------------------------------------------
if I run nslookup in debug mode I get;
-----------------------------------------------------------
[root@pip] /root:60> nslookup -d pip
;; res_mkquery(0, 104.200.9.192.in-addr.arpa, 1, 12)
------------
Got answer:
HEADER:
opcode = QUERY, id = 33906, rcode = SERVFAIL
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
104.200.9.192.in-addr.arpa, type = PTR, class = IN
------------
*** Can't find server name for address 192.9.200.104: Server failed
*** Default servers are not available
------------------------------------------------------------
Is this because I only have one DNS setup?
If anyone can help let me know. I'm going to attach the contents of my
resolv.conf, named.boot, named.local, named.hosts, and named.rev
Thanks,
Ron
resolve.conf
-----------------------------------------------------------
domain alpha.net
nameserver 192.9.200.104
-----------------------------------------------------------
named.boot
-----------------------------------------------------------
directory /etc
cache . root.cache
primary alpha.net named.hosts
primary 9.192.IN-ADDR.ADRP named.rev
primary 0.0.127.IN-ADDR.ADRP named.local
-----------------------------------------------------------
named.hosts
-----------------------------------------------------------
;
@ IN SOA pip.alpha.net. rhorrell.pip.alpha.net. (
16 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000); Minimum
IN NS 192.9.200.104
localhost IN A 127.0.0.1
pip IN A 192.9.200.104
loghost IN CNAME 192.9.200.104
rhorrell IN A 192.9.200.1
stan IN A 192.9.200.101
kenny IN A 192.9.200.103
cartman IN A 192.9.200.105
printserver IN A 192.9.200.200
--------------------------------------------------
named.local
--------------------------------------------------
;
@ IN SOA pip.alpha.net. rhorrell.pip.alpha.net. (
1 ; Serial
360000 ; Refresh
3600 ; Retry
3600000 ; Expire
604800) ; Minimum
IN NS pip.alpha.net.
0 IN PTR loopback.
1 IN PTR localhost.
---------------------------------------------------
named.rev
---------------------------------------------------
;
@ IN SOA pip.alpha.net. rhorrell.pip.alpha.net. (
16 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000) ;Minimum
IN NS pip.alpha.net.
104 IN PTR pip.alpha.net.
0 IN PTR pip.alpha.net.
1 IN PTR rhorrell.alpha.net.
101 IN PTR stan.alpha.net.
103 IN PTR kenny.alpha.net.
105 IN PTR cartman.alpha.net.
200 IN PTR printserver.alpha.net.
|
|