On 01/16/2012 12:34 PM, Chris Davies wrote:
> alike<(E-Mail Removed)> wrote:
>> I have finally completed the main bind configuration.
>> Now when i run the gadmin tool i get status OK.
>> The zones are reloaded OK, resolv works but there i one problem.
>> When i dig my registered address i get servfail.
>
>> Named.conf.local
>> --------------------------------
>> zone "aisnet.com.hr" {
>> type master;
>> file "/etc/bind/db.aisnet.com.hr";
>> };
>
>> db.aisnet.com.hr
>> ---------------------------------
>> ; aisnet.com.hr
>> $TTL 604800
>> $ORIGIN aisnet.com.hr
>> @ IN SOA ns1.aisnet.com.hr. (
>> 2006020201 ; Serial
>> 604800 ; Refresh
>> 86400 ; Retry
>> 2419200 ; Expire
>> 604800); Negative Cache TTL
>> ;
>> @ IN NS ns1
>> IN A 192.168.1.110
>> ns1 IN A dns1.aisnet.com.hr
>> www IN A 192.168.1.110
>
>
> Firstly, there are two errors in this file.
>
> 1. An "A" record cannot resolve to a name, so your ns1 record is
> invalid. Frankly, I'm amazed that bind9 will even run with this error.
>
> 2. Your SOA label should be an email address in dotted notation,
> not what I assume is your NS hostname. So you might have @ IN SOA
> hostmaster.aisnet.com.hr (implying a valid email address hostmaster *at*
> aisnet.com.hr).
>
> While you're experimenting I'd suggest you reduce the negative cache
> ttl to something like 600 (10 minutes) and the retry down to 3600. Not
> essential but can be helpful while you're changing the domain entries
> around.
>
>
>> dns1.aisnet.com.hr --> 85.114.42.51
>
> Agreed. I can find that delegation, but there seems to be nothing
> listening on that address.
>
> * Have you allowed both UDP/53 and TCP/53 through your firewall?
> * Is bind *really* running?
>
> Chris
-------------------
I changed the resolv.conf file and reload the configuration.
Now i can get noerror when i run dig but when i check it at intodns.com
i get some errors. Please chek it out:
http://www.intodns.com/aisnet.com.hr ( it takes some time to load )