|
NAMEdns-hosts-import - generate DNS tables from /etc/hosts entriesSYNOPSISdns-hosts-import [ option... ] filename...dns-hosts-import -Help dns-hosts-import -VERSion DESCRIPTIONThe dns-hosts-import program is used to read your /etc/hosts file and generate a DNS forward map from it, as a first step to configuring DNS.OPTIONSThe following options are understood:
All other options will produce a diagnostic error. See the file man1/arglex.so. See the file man1/exit.so. EXAMPLEIf you have an /etc/hosts file which looks like this:See the file man1/example.hosts.so. % dns-hosts-import /etc/hosts hosts-tmp % $origin example.com. @ in soa example.com. hostmaster.example.com. ( 3 ; serial 10800 ; refresh: 3 hours 1800 ; retry: 30 minutes 604800 ; expire: 1 week 86400 ) ; minimum: 1 day mercury in a 182.168.1.1 venus in a 182.168.1.2 earth in a 182.168.1.3 mars in a 182.168.1.4 jupiter in a 182.168.1.5 saturn in a 182.168.1.6 neptune in a 182.168.1.7 uranus in a 182.168.1.8 pluto in a 182.168.1.9 lp in cname pluto See dns-hosts(1) for how to retrieve your /etc/hosts file once you have imported it. See the file man1/copyright.so. See the file man1/author.so. Visit the GSP FreeBSD Man Page Interface. |