Smersh2000
IS-IT--Management
Greetings to everybody.
Third day, second reinstall. same problem :-( .
I'm trying to set up a linux DNS server (bind 9.3.0). Seems to be working just fine for any info for external domains. The only domain that causes the problem is the one that this DNS server is supposed to be master for. when i'm trying to dig from another machine - get Answers:0. At the same time I have another DNS server (Win2000) and have no problem getting info from it.
Below are the named.conf, config files for the zone and examples of return. I get a feeling that i'm missing something small, and just don't see it because i'm relatively new to network administration.
I would appreciate any advice as to what to do or where to look for an answer as well as advice on efficiency of the configuration (i created the file after the one that was already in place and not sure as to how efficient it is).
Thank you in advance,
Tim
named.conf:
my-domain.net:
192.168.1:
DIGs from the linux (1.103) and Win(1.100)
Third day, second reinstall. same problem :-( .
I'm trying to set up a linux DNS server (bind 9.3.0). Seems to be working just fine for any info for external domains. The only domain that causes the problem is the one that this DNS server is supposed to be master for. when i'm trying to dig from another machine - get Answers:0. At the same time I have another DNS server (Win2000) and have no problem getting info from it.
Below are the named.conf, config files for the zone and examples of return. I get a feeling that i'm missing something small, and just don't see it because i'm relatively new to network administration.
I would appreciate any advice as to what to do or where to look for an answer as well as advice on efficiency of the configuration (i created the file after the one that was already in place and not sure as to how efficient it is).
Thank you in advance,
Tim
named.conf:
Code:
view "my-domain" {
match-clients {192.168.1.0/24; 127/8; };
zone "my-domain.net" {
type master;
file "my-domain.net";
};
};
Code:
$TTL 3600
my-domain.net. IN SOA ns1.my-domain.net. hostmaster.my-domain.net. (
20041228 ; serial
3h ; refresh after 3 hours
1h ; retry after 1 hour
1w ; expire after 1 week
1h) ;negative caching TTL 1 hour
;
; Name servers
;
my-domain.net. IN NS dns17.register.com.
my-domain.net. IN NS dns18.register.com.
;
; Mail servers
;
my-domain.net. IN MX 10 mail.my-domain.net.
;
; Addresses
;servers
localhost.my-domain.net. IN A 127.0.0.1
boromir.my-domain.net. IN A 192.168.1.101
caesar.my-domain.net. IN A 192.168.1.103
degas.my-domain.net. IN A 192.168.1.104
faramir.my-domain.net. IN A 192.168.1.102
frodo.my-domain.net. IN A 192.168.1.100
leonardo.my-domain.net. IN A 192.168.1.103
;printers
merry.printers.my-domain.net. IN A 192.168.1.200
pippin.printers.my-domain.neti. IN A 192.168.1.201
;system
mail.my-domain.net. IN CNAME host53a.external-mail-prvider.com.
webmail.my-domain.net. IN CNAME mail.my-domain.net.
[URL unfurl="true"]www.my-domain.net.[/URL] IN A 99.99.99.99
ns1.my-domain.net. IN A 99.99.99.99
ns2.my-domain.net. IN A 99.99.99.99
;
; Aliases
;
tdev.my-domain.net. IN CNAME leonardo.my-domain.net.
intranet.my-domain.net. IN CNAME leonardo.my-domain.net.
192.168.1:
Code:
$TTL 3h
1.168.192.in-addr.arpa. IN SOA ns1.my-domain.net. hostmaster.my-domain.net. (
20041228 ; serial
3h ; refresh after 3 hours
1h ; retry after 1 hour
1w ; expire after 1 week
1h ) ; negatice caching TTL of 1 hour
;
; Name servers
;
1.168.192.in-addr.arpa. IN NS dns17.register.com.
1.168.192.in-addr.arpa. IN NS dns18.register.com.
;
; Addresses point to canonical name
; servers
100.1.168.192.in-addr.arpa. IN PTR frodo.my-domain.net
101.1.168.192.in-addr.arpa. IN PTR boromir.my-domain.net
102.1.168.192.in-addr.arpa. IN PTR faramir.my-domain.net
103.1.168.192.in-addr.arpa. IN PTR caesar.my-domain.net
104.1.168.192.in-addr.arpa. IN PTR degas.my-domain.net
105.1.168.192.in-addr.arpa. IN PTR leonardo.my-domain.net
; printers
200.1.168.192.in-addr.arpa. IN PTR merry.printers.my-domain.net
201.1.168.192.in-addr.arpa. IN PTR pippin.printers.my-domain.net
; dhcp clients
1.1.168.192.in-addr.arpa. IN PTR dhcp1.my-domain.net
2.1.168.192.in-addr.arpa. IN PTR dhcp2.my-domain.net
3.1.168.192.in-addr.arpa. IN PTR dhcp3.my-domain.net
4.1.168.192.in-addr.arpa. IN PTR dhcp4.my-domain.net
DIGs from the linux (1.103) and Win(1.100)
Code:
; <<>> DiG 9.3.0 <<>> @192.168.1.103 frodo.my-domain.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 11688
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;frodo.my-domain.net. IN A
;; AUTHORITY SECTION:
my-domain.net. 8479 IN SOA dns17.register.com. root.register.com. 200404326 10800 3600 604800 21600
;; Query time: 2 msec
;; SERVER: 192.168.1.103#53(192.168.1.103)
;; WHEN: Tue Dec 28 18:05:25 2004
;; MSG SIZE rcvd: 103
; <<>> DiG 9.3.0 <<>> @192.168.1.100 frodo.my-domain.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43206
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;frodo.my-domain.net. IN A
;; ANSWER SECTION:
frodo.my-domain.net. 3600 IN A 192.168.1.100
;; Query time: 1 msec
;; SERVER: 192.168.1.100#53(192.168.1.100)
;; WHEN: Tue Dec 28 18:05:35 2004
;; MSG SIZE rcvd: 60
; <<>> DiG 9.3.0 <<>> @192.168.1.103 frodo
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 33292
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;frodo. IN A
;; AUTHORITY SECTION:
. 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2004122800 1800 900 604800 86400
;; Query time: 95 msec
;; SERVER: 192.168.1.103#53(192.168.1.103)
;; WHEN: Tue Dec 28 18:05:43 2004
;; MSG SIZE rcvd: 98
; <<>> DiG 9.3.0 <<>> @192.168.1.100 frodo
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 6367
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;frodo. IN A
;; Query time: 1 msec
;; SERVER: 192.168.1.100#53(192.168.1.100)
;; WHEN: Tue Dec 28 18:05:49 2004
;; MSG SIZE rcvd: 23