Skip to content

Instantly share code, notes, and snippets.

@jheise
Created August 26, 2022 05:53
Show Gist options
  • Save jheise/39d9c1aafd333054a0d1ad8d679b037e to your computer and use it in GitHub Desktop.
Save jheise/39d9c1aafd333054a0d1ad8d679b037e to your computer and use it in GitHub Desktop.
named.conf pointing to a new root hint file
// Add a fake root server
zone "." {
type master;
file "/etc/bind/db.fakeroot";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment