RH 9 dns help
Peter
no_spam_pbournias at hotmail.com
Fri Aug 15 09:56:12 UTC 2003
Hi,
I recently installed RH 9 and thought that copying my setup from RH 6 to the
new setup was going to make things easy but now I see that dns is not working
properly.
Can someone spot check this for me?
I have included various test results towards the bottom.
Thanks,
Peter
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; named.conf
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
options {
directory "/var/named";
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
include "/etc/rndc.key";
zone "." IN {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "0.0.127.named";
allow-update { none; };
};
//--------------------------------------------------
// this physical server master
//--------------------------------------------------
zone "dodo.cxm" IN {
type master;
file "dodo.cxm.zone";
allow-update { none; };
};
//--------------------------------------------------
// reverse lookup for dodo.cxm server
//--------------------------------------------------
zone "100.168.192.in-addr.arpa" IN {
type master;
file "100.168.192.named";
};
//--------------------------------------------------
// virtual accounts
//--------------------------------------------------
zone "pab.cxm" IN {
type master;
file "pab.cxm.zone";
allow-update { none; };
};
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;localhost zone
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
$TTL 86400
$ORIGIN localhost.
@ 1D IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
1D IN NS @
1D IN A 127.0.0.1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;0.0.127.named
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0.0.127.in-addr.arpa. IN SOA aurora.dodo.cxm. root.dodo.cxm. (
7 ; Serial
7200 ; Refresh
1800 ; Retry
3600000 ; Expire
7200 ) ; Minimum
IN NS aurora.dodo.cxm.
1 IN PTR localhost.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;dodo.cxm.zone
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ IN SOA aurora.dodo.cxm. root.dodo.cxm. (
7 ; Serial
7200 ; Refresh
1800 ; Retry
3600000 ; Expire
7200 ) ; Minimum
;name servers and mail server
IN NS aurora.dodo.cxm.
IN MX 10 aurora.dodo.cxm.
IN A 192.168.100.3
aurora IN A 192.168.100.3
;addresses of the canonical names
localhost IN A 127.0.0.1
gateway IN A 192.168.100.3
;aliases (to use ftp eg., you do ftp.dodo.cxm )
www CNAME ns
mail CNAME ns
ftp CNAME ns
pop3 CNAME ns
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;100.168.192.zone
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
100.168.192.in-addr.arpa. IN SOA aurora.dodo.cxm.
root.aurora.dodo.cxm. (
7 ; Serial
7200 ; Refresh
1800 ; Retry
3600000 ; Expire
7200 ) ; Minimum
;name servers
IN NS aurora.dodo.cxm.
;addresses to point to canonical names
3.100.168.192.in-addr.arpa. IN PTR aurora.dodo.cxm.
;dialins
;888 IN PTR dialup.dodo.cxm.
;virtual hosts
5.100.168.192.in-addr.arpa. IN PTR pab.cxm.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;pab.cxm.zone
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ IN SOA virtual root.virtual (
7 ; Serial
7200 ; Refresh
1800 ; Retry
3600000 ; Expire
7200 ) ; Minimum
;name servers
IN NS dodo.aurora.cxm.
IN MX 10 virtual
IN A 192.168.100.5
;addresses of the canonical names
localhost IN A 127.0.0.1
gateway IN A 192.168.100.3
virtual IN A 192.168.100.5
IN MX 10 virtual
;aliases
WWW CNAME virtual
mail CNAME virtual
ftp CNAME virtual
pop3 CNAME virtual
;hosts
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
127.0.0.1 aurora.dodo.cxm aurora localhost.localdomain localhost
;resolv.conf
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
search dodo.cxm
nameserver 127.0.0.1
nameserver 192.168.100.3
My results from testing:
;ifconfig -a
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
eth0 Link encap:Ethernet HWaddr 00:80:C8:F2:F4:12
inet addr:192.168.100.3 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:933 errors:0 dropped:0 overruns:0 frame:0
TX packets:1776 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:225826 (220.5 Kb) TX bytes:173549 (169.4 Kb)
Interrupt:19 Base address:0xc400
eth0:0 Link encap:Ethernet HWaddr 00:80:C8:F2:F4:12
inet addr:192.168.100.4 Bcast:192.168.100.254 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:933 errors:0 dropped:0 overruns:0 frame:0
TX packets:1776 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:225826 (220.5 Kb) TX bytes:173549 (169.4 Kb)
Interrupt:19 Base address:0xc400
eth0:1 Link encap:Ethernet HWaddr 00:80:C8:F2:F4:12
inet addr:192.168.100.5 Bcast:192.168.100.254 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:933 errors:0 dropped:0 overruns:0 frame:0
TX packets:1776 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:225826 (220.5 Kb) TX bytes:173549 (169.4 Kb)
Interrupt:19 Base address:0xc400
eth0:2 Link encap:Ethernet HWaddr 00:80:C8:F2:F4:12
inet addr:192.168.100.6 Bcast:192.168.100.254 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:933 errors:0 dropped:0 overruns:0 frame:0
TX packets:1776 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:225826 (220.5 Kb) TX bytes:173549 (169.4 Kb)
Interrupt:19 Base address:0xc400
eth0:3 Link encap:Ethernet HWaddr 00:80:C8:F2:F4:12
inet addr:192.168.100.7 Bcast:192.168.100.254 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:933 errors:0 dropped:0 overruns:0 frame:0
TX packets:1776 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:225826 (220.5 Kb) TX bytes:173549 (169.4 Kb)
Interrupt:19 Base address:0xc400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:101908 errors:0 dropped:0 overruns:0 frame:0
TX packets:101908 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8277855 (7.8 Mb) TX bytes:8277855 (7.8 Mb)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.100.254 0.0.0.0 UG 0 0 0 eth0
;ping
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PING aurora.dodo.cxm (127.0.0.1) 56(84) bytes of data.
64 bytes from aurora.dodo.cxm (127.0.0.1): icmp_seq=1 ttl=64 time=0.099 ms
64 bytes from aurora.dodo.cxm (127.0.0.1): icmp_seq=2 ttl=64 time=0.089 ms
--- aurora.dodo.cxm ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.089/0.094/0.099/0.005 ms
;nslookup aurora.dodo.cxm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: aurora.dodo.cxm
Address: 192.168.100.3
;nslookup dodo.cxm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: dodo.cxm
Address: 192.168.100.3
;nslookup pab.cxm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: pab.cxm
Address: 192.168.100.5
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; <<>> DiG 9.2.1 <<>> 192.168.100.3
;; global options: printcmd
;; connection timed out; no servers could be reached
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; <<>> DiG 9.2.1 <<>> -x 192.168.100.3
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29400
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;3.100.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
3.100.168.192.in-addr.arpa. 7200 IN PTR aurora.dodo.cxm.
;; AUTHORITY SECTION:
100.168.192.in-addr.arpa. 7200 IN NS aurora.dodo.cxm.
;; ADDITIONAL SECTION:
aurora.dodo.cxm. 7200 IN A 192.168.100.3
;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 14 18:40:20 2003
;; MSG SIZE rcvd: 103
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; <<>> DiG 9.2.1 <<>> 192.168.100.3 192.168.100.3
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 17170
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.100.3. IN A
;; Query time: 1165 msec
;; SERVER: 192.168.100.3#53(127.0.0.1)
;; WHEN: Thu Aug 14 18:40:58 2003
;; MSG SIZE rcvd: 31
;; connection timed out; no servers could be reached
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
<<>> DiG 9.2.1 <<>> dodo.cxm ns
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53346
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;dodo.cxm. IN NS
;; ANSWER SECTION:
dodo.cxm. 7200 IN NS aurora.dodo.cxm.
;; ADDITIONAL SECTION:
aurora.dodo.cxm. 7200 IN A 192.168.100.3
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 14 18:43:52 2003
;; MSG SIZE rcvd: 63
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; <<>> DiG 9.2.1 <<>> dodo.cxm mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60127
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;dodo.cxm. IN MX
;; ANSWER SECTION:
dodo.cxm. 7200 IN MX 10 aurora.dodo.cxm.
;; AUTHORITY SECTION:
dodo.cxm. 7200 IN NS aurora.dodo.cxm.
;; ADDITIONAL SECTION:
aurora.dodo.cxm. 7200 IN A 192.168.100.3
;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 14 18:44:12 2003
;; MSG SIZE rcvd: 79
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
More information about the bind-users
mailing list