os: ubuntu 9.1 server(gui added)
DNS Software: Bind9
Link To Config Files: Contains:named.conf, named.conf.local,
named.conf.options, zone files
Problem:
On entering "dig 1.168.192.in-addr.arpa. AXFR" in terminal I get this error
Connection to 192.168.1.1#53(192.168.1.1) for 1.168.192.in-addr.arpa. failed: connection refused.
but on entering "ping 192.168.1.1" which is my nameserver I get no errors and i get the reply
64 bytes from 192.168.1.1: icmp_seq=147 ttl=64 time=1.71 ms
I don't know whether server is working or not since I have not yet registered the domain
I want to know whether the current configuration will work when I register a domain
Thanks in advance
------------------------------------------------------------------------
For those of you who don't want to download the files
1.Zone setup
$TTL 604800
@ IN SOA ns1.mydomain.in. admin.mydomain.in. (
4 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
@ IN NS ns1.mydomain.in.
@ IN MX 10 mail.mydomain.in.
www IN A 192.168.1.2
-->LAN IP of my comp
mail IN A 192.168.1.2
ns1 IN A 192.168.1.2
2.Reverse Zone Setup
$TTL 604800
@ IN SOA ns1.mydomain.in. admin.mydomain.in. (
4 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
@ IN NS ns.
2 IN PTR ns.mydomain.in
3.named.conf
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
4.named.conf.local
zone "allguides.in" {
type master;
file "/etc/bind/zones/allguides.in.db";
};
zone "1.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/zones/rev.1.168.192.in-addr.arpa";
};
5.named.conf.options
options {
directory "/var/cache/bind";
forwarders {
192.168.1.1;
-------->nameserver (listed in resolv.conf)
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};