Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


bind9 help me
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

bind9 help me

I setup adblock dns but I have a few problems:

tail syslog shows:

Apr 12 17:34:05 vps02 named[2769]: zone 77tracking.com/IN: loading from master file null.zone.file failed: file not found

Apr 12 17:34:05 vps02 named[2769]: zone 77tracking.com/IN: not loaded due to errors.
(etc etc. a bunch of errors with different domains. you get it)

So i checked if I point correctly and yes it seems like so:

named.conf.local

include "/etc/bind/ad-blacklist";

ad-blacklist

zone "77tracking.com" { type master; notify no; file "null.zone.file"; };

and ls in /etc/bind

ad-blacklist db.127 db.local named.conf.default-zones null.zone.file
bind.keys db.255 db.root named.conf.local rndc.key
db.0 db.empty named.conf named.conf.options zones.rfc1918

Im lost. Please help.

Comments

  • SnapeSnape Member

    file null.zone.file failed: file not found

  • @Snape said:
    file null.zone.file failed: file not found

    Please check my ls output. Thanks.

  • mikhomikho Member, Host Rep

    Can it read it?

  • @mikho said:
    Can it read it?

    Yea. I chmod it to 755. Just tried 777 hoping it would work but no.

  • sure files are in correct directories?

  • rauppe31rauppe31 Member, Host Rep

    Please specify the absolute path to file null.zone.file in /etc/bind/ad-blacklist

  • @century1stop said:
    sure files are in correct directories?

    Yea.

    @rauppe31 said:
    Please specify the absolute path to file null.zone.file in /etc/bind/ad-blacklist

    Ah just found out a few min ago after lot of trail & error. Wanted to post but you were faster. Alot of thanks still though :)

    @mikho
    Can be closed :)

This discussion has been closed.