---
name: "mydns"
section: "8"
platform: "linux"
package: "mydns-mysql"
version: "1:1.1.0-7etch1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/mydns"
---

# mydns(8)

SQL-based Internet name daemon.

## NAME

mydns - SQL-based Internet name daemon.

## SYNOPSIS

**mydns** \[**-b**, **--background**\] \[**-c**, **--conf=***filename*\] \[**-d**, **--debug**\] \[**-D**, **--database=***dbname*\] \[**-h**, **--host=***hostname*\] \[**-p**, **--password\[=***password*\]\] \[**-u**, **--user=***username*\] \[**-v**, **--verbose**\] \[**--create-tables**\] \[**--dump-config**\] \[**--help**\] \[**--version**\]

## DESCRIPTION

**mydns** is a SQL-based DNS server.

## OPTIONS

- **-b**, **--background**

  Run in the background, as a daemon.

- **-c**, **--conf**=*filename*

  Read configuration from *filename* instead of the default (**/etc/mydns.conf**).  Consult [**mydns.conf**(5)](/mydns.conf/5.md) for information about configuring **mydns**.

- **-d**, **--debug**

  Output huge amounts of diagnostic text while running.  This option is only available if MyDNS was configured with the **--enable-debug** option.

- **-D**, **--database**=*dbname*

  Use the database called *dbname*.

- **-h**, **--host**=*hostname*

  Connect to database server at *hostname*.

- **-p**, **--pass**=*password*

  Supply *password* when connecting to the database server.  If the *password* argument is omitted, it will be prompted on the tty.

- **-u**, **--user**=*username*

  Use *username* when connecting to the database server.

- **-v**, **--verbose**

  Enable verbose output while running.

- **--create-tables**

  Write CREATE TABLE statements suitable for creating the tables used by **mydns** to the standard output and exit.

- **--dump-config**

  Read the current configuration (if any).  Dump all possible configuration options to the standard output, with current values filled in.  For options not presently configured, the internal defaults will be used.  Output is in **mydns.conf** format, which is handy for creating a **mydns.conf** template.

- **--help**

  Display program help and exit.

- **--version**

  Output version number and exit.

## FILES

*/etc/mydns.conf*

The default location of the configuration file.  (See [**mydns.conf**(5)](/mydns.conf/5.md))

## AUTHOR

Don Moore \<bboy@bboy.net\>

## HOMEPAGE

http://mydns.bboy.net

## SEE ALSO

[**mydns.conf**(5)](/mydns.conf/5.md), [**mydnscheck**(8)](/mydnscheck/8.md), [**mydnsexport**(8)](/mydnsexport/8.md), [**mydnsimport**(8)](/mydnsimport/8.md) This man page is a quick reference.  For detailed documentation, see the MyDNS user's manual, available from http://mydns.bboy.net.
