Here are the files I have made and the last is the output of trying to do a nslookup.
There is something wrong but I don't know what it is or where it is. If anyone can point out any problems I would appreciate it.
db.mtvlan
Code:
$TTL 21600
@ IN SOA localhost. root.localhost. (
00000005; Serial Number (not a date)
21600 ; Refresh every 6 hours
3600 ; Retry every hour
1728000 ; Expire every 20 days
21600 ) ; Minimum 6 hours
IN A 10.10.0.1
;
* IN A 10.10.0.1
db.0.10.10
Code:
@ IN SOA localhost. root.localhost. (
00000005; Serial Number (not a date)
21600 ; Refresh every 6 hours
3600 ; Retry every hour
1728000 ; Expire every 20 days
21600 ) ; Minimum 6 hours
1 IN PTR mtvlan.com
named.conf
Code:
zone "mtvlan.com"{
type master;
file "db.mtvlan";
allow-update { any; };
allow-transfer { any; };
allow-query { "any"; };
notify yes;
};
zone "10.10.0.in-addr.arpa" {
type master;
file "db.0.10.10";
allow-update { any; };
allow-transfer { any; };
allow-query { "any"; };
};
after I start up named
Code:
penguin:/etc/bind# nslookup mtvlan.com
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find mtvlan.com: SERVFAIL