I am trying to set up a simple DNS server in CentOS 6.5.
This is what my named.conf looks like:
Quote:
options {
listen-on { 127.0.0.1; 192.168.1.107; };
};
zone vinci.rr in { type master; file "/var/named/vinci.rr"; };
|
And this is my zone file "vinci.rr"
Quote:
$TTL 86400;
$ORIGIN vinci.rr.
@ IN SOA ns1 hostmaster.vinci.rr (
2014012801; serial
10800; refresh
3600; retry
604800; expire
86400; minimum
)
IN NS ns1 ; in the domain
ns1 IN A 192.168.1.107;
www IN A 192.168.1.107;
IN A 192.168.1.107;
|
Whenever I try to ping (from the host itself) vinci.rr, I get this error:
error (unexpected RCODE REFUSED) resolving 'vinci.rr.net/A/IN': 1.1.1.1 (-> there's a public ip there instead of the 1s).
What should I be looking for?