minor changes to make dig tilde. function properly.

This commit is contained in:
root 2024-01-09 13:50:38 -07:00
parent 7a1d2a956c
commit 671448f943
3 changed files with 49 additions and 12 deletions

View File

@ -1,16 +1,13 @@
; ;
; BIND data file for master.tilde ; BIND data file for .tilde
; ;
$TTL 604802 $TTL 86400
@ IN SOA master.tilde. root.master.tilde. ( @ IN SOA tilde. root.master.tilde. (
2018120101 ; Serial 2018120101 ; Serial
604800 ; Refresh 86400 ; Refresh
86400 ; Retry 86400 ; Retry
2419200 ; Expire 2419200 ; Expire
604800 ) ; Negative Cache TTL 86400 ) ; Negative Cache TTL
IN A 139.59.215.24
; ;
IN NS ns1.master.tilde. tilde. IN NS ns1.ca.tildenic.org.
IN NS ns2.master.tilde. tilde. IN NS ns2.ca.tildenic.org.
@ IN A 139.59.215.24

35
named.conf.default-zones Normal file
View File

@ -0,0 +1,35 @@
// prime the server with knowledge of the root servers
// zone "." {
// type hint;
// file "/usr/share/dns/root.hints";
//};
// 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 "tilde" {
type master;
file "/etc/bind/db.tilde.tilde";
};
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";
};

View File

@ -1,7 +1,7 @@
// prime the server with knowledge of the root servers // prime the server with knowledge of the root servers
//zone "." { // zone "." {
// type hint; // type hint;
// file "/etc/bind/db.root"; // file "/usr/share/dns/root.hints";
//}; //};
// be authoritative for the localhost forward and reverse zones, and for // be authoritative for the localhost forward and reverse zones, and for
@ -12,6 +12,11 @@ zone "localhost" {
file "/etc/bind/db.local"; file "/etc/bind/db.local";
}; };
zone "tilde" {
type master;
file "/etc/bind/db.tilde.tilde";
};
zone "127.in-addr.arpa" { zone "127.in-addr.arpa" {
type master; type master;
file "/etc/bind/db.127"; file "/etc/bind/db.127";