Hi all-
This is a new install of DNS/Bind 8.
Here is my named.conf:
options {
// DNS tables are located in the /var/named directory
directory "/var/named";
// Enable caching and load root server info
zone "." {
type hint;
file "root.cache";
};
// All our DNS information is stored in /var/named/
zone "mydomainname.com" {
type master;
file "mydomainname.db";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "myiprange.db";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "localhost.db";
};
First off- /var/log/messages reports:
al named[837]: /etc/named.conf:7: syntax error near zone
this line:
zone "." {
Secondly- I recieve the following error while issuing an nslookup, where .48 is the name server I'm querying:
[root@al /etc]# nslookup admin.mydomain.com 192.168.1.48
*** Can't find server name for address 192.168.1.48: Non-existent host/domain
*** Default servers are not available
But when I usse the same command from DOS, I recieve the same error, but it returns the record anyways:
C:\>nslookup admin.mydomain.com 192.168.1.48
*** Can't find server name for address 192.168.1.48: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 192.168.1.48
Name: admin.mydomain.com
Address: 192.168.1.45
Which is correct, but still the error. I'm pretty sure its something to do with my reverse lookup file, so here it is:
myiprange.db:
$TTL 43200
@ IN SOA al.modalis.com. postmaster.modalis.com. (
2001062701
300
60
1209600
43200)
IN NS al.modalis.com.
1 IN PTR modalis.com.
2 IN PTR 3 IN PTR 48.1.168.192.in-addr.arpa.
Thanks for your help/suggestions/cash gifts "Nuclear war can ruin your whole compile."
-- Karl Lehenbauer
This is a new install of DNS/Bind 8.
Here is my named.conf:
options {
// DNS tables are located in the /var/named directory
directory "/var/named";
// Enable caching and load root server info
zone "." {
type hint;
file "root.cache";
};
// All our DNS information is stored in /var/named/
zone "mydomainname.com" {
type master;
file "mydomainname.db";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "myiprange.db";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "localhost.db";
};
First off- /var/log/messages reports:
al named[837]: /etc/named.conf:7: syntax error near zone
this line:
zone "." {
Secondly- I recieve the following error while issuing an nslookup, where .48 is the name server I'm querying:
[root@al /etc]# nslookup admin.mydomain.com 192.168.1.48
*** Can't find server name for address 192.168.1.48: Non-existent host/domain
*** Default servers are not available
But when I usse the same command from DOS, I recieve the same error, but it returns the record anyways:
C:\>nslookup admin.mydomain.com 192.168.1.48
*** Can't find server name for address 192.168.1.48: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 192.168.1.48
Name: admin.mydomain.com
Address: 192.168.1.45
Which is correct, but still the error. I'm pretty sure its something to do with my reverse lookup file, so here it is:
myiprange.db:
$TTL 43200
@ IN SOA al.modalis.com. postmaster.modalis.com. (
2001062701
300
60
1209600
43200)
IN NS al.modalis.com.
1 IN PTR modalis.com.
2 IN PTR 3 IN PTR 48.1.168.192.in-addr.arpa.
Thanks for your help/suggestions/cash gifts "Nuclear war can ruin your whole compile."
-- Karl Lehenbauer