Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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

    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.