< >   << Up >>         TopContentsIndex ?

2.5 Creating `mydns.conf'

MyDNS probably won't start properly if it can't find its configuration file. By default, the configuration file is called `/etc/mydns.conf'.

Running mydns --dump-config will output a set of configuration options suitable for using as your configuration file. See section B. Configuration.

So, for a fresh installation, this command will create your initial configuration file:

# mydns --dump-config > /etc/mydns.conf

You should now edit your `mydns.conf' file. Most defaults should be fine for most sites.

The values you are most likely to want to modify are the values for `db-host' and `db-user', which should contain the database username and password that you created at the end of step 2.4. (See section 2.4 Database access).