Bind localhost zone file
From: https://www.zytrax.com/books/dns/ch6/localhost.html
Sample master.localhost zone file
This file, supplied with the standard distributions (typically called
localhost.zone in BIND distributions), is a model of brevity and very cryptic!
Comments have been added to clarify the definitions. This file should not need
modification.
The master.localhost file maps the name localhost to the local or loopback
address (127.0.0.1). Localhost is used by many system programs.
$TTL 86400 ; 24 hours could have been written as 24h or 1D
$ORIGIN localhost.
; line below expands to: localhost 1D IN SOA localhost root.localhost
@ 1D IN SOA @ root (
2002022401 ; serial
3H ; refresh
15 ; retry
1w ; expire
3h ; minimum
)
@ 1D IN NS @
1D IN A 127.0.0.1 /span>