NAME

makedns - sets up domain name services (DNS) from the entries in /etc/hosts.


SYNOPSIS

makedns options

makedns [-h|--help]


DESCRIPTION

makedns makes a DNS server from the /etc/hosts file entries. It also uses the following attributes set in the site table as default values: domain, forwarders, nameservers. The domain value can be overridden by the -d option. The netmasks from the networks table will also be used if not overridden by the -n option.


OPTIONS

-d domain

The domain name to use. If not specified, the default used is the domain attribute in the site table.

-f file

A file containing more arguments for makedns.

-z|-Z nameserver

The hostname of a secondary nameserver to use.

-b bootfile

Boot file to use.

-A

Do aliases.

-M

Do mx records.

-w

Do wks.

-D

Don't do domains.

-t

Do txt records.

-u user

User?

-s server ...

Servers.

-m mx

mx records.

-c pattern

C patterns?

-e pattern

Elimination patterns?

-h host

Host.

-o options

Refresh, retry, expire, ttl options, separated by colons.

-i

Force serial.

-H file

File to read the host entries from. Default is /etc/hosts.

-C file

Comments file.

-N mask

Default subnet mask.

-n mask

Subnet mask. If not specified, all the netmasks from the networks table are used.


SEE ALSO

site(5)


AUTHOR

Egan Ford <egan@us.ibm.com>