mydnsimport man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

mydnsimport(8)		 System Administrator's Manual		mydnsimport(8)

NAME
       mydnsimport - Import zone data from external sources.

SYNOPSIS
       mydnsimport [-a, --axfr=host] [-D, --database=dbname] [-h, --host=host‐
       name] [-o, --output] [-p, --password[=password]] [-r,  --replace]  [-t,
       --tinydns=file]	 [--notrim]   [-u,  --user=username]  [-v,  --verbose]
       [--help] [--version] ZONE [...]

DESCRIPTION
       mydnsimport imports zone data into MyDNS from an external  source.   If
       an  import technique is specified (for example, via the --axfr option),
       the specified zone data will be loaded and  mydnsimport	will  add  the
       zone  data  to  your database.  Currently, --axfr and --tinydns are the
       only import techniques recognized.

OPTIONS
       -a, --axfr=hostname[:port]
	      Load zone information from the specified hostname via  the  DNS-
	      based AXFR command.

       -o, --output
	      If  this option is specified, mydnsimport outputs zone data in a
	      computer-friendly format	instead	 of  modifying	the  database.
	      Each  line  of  output consists of a line type (soa, rr, or ptr)
	      followed by multiple fields.  Fields within each line are	 sepa‐
	      rated  by	 the  TAB  (ASCII  0x09)  character.  See LINE SYNTAX,
	      below.

       -r, --replace
	      When importing, if the zone specified already  exists,  mydnsim‐
	      port  will  refuse  to  make changes to the database unless this
	      flag is provided.	 When this  flag  is  provided,	 if  the  zone
	      already  exists, its SOA record will be updated (from the exter‐
	      nal source), all resource records for that zone are purged,  and
	      a	 new  set  of  resource	 records  is  loaded from the external
	      source.

       --notrim
	      Normally the zone origin is removed from labels when  importing,
	      in  order	 to  save  space  in  the  database.   In other words,
	      host.example.com. becomes just host.  Using the --notrim	option
	      inhibits this behavior.

       -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.

       -t, --tinydns=file
	      Load zone information from  the  specified  file,	 which	is  in
	      tinydns-data  format.   When importing from a tinydns data file,
	      zone may be omitted from the command line,  in  which  case  all
	      zones found in the file are imported.

       -u, --user=username
	      Use username when connecting to the database server.

       -v, --verbose
	      Enable verbose output while running.

       --help Display program help and exit.

       --version
	      Output version number and exit.

LINE SYNTAX
       When  started  with the -o (--output) option, mydnsimport outputs lines
       in the following format:

       SOA    "soa" <TAB> origin  <TAB>	 ns  <TAB>  mbox  <TAB>	 serial	 <TAB>
	      refresh <TAB> retry <TAB> expire <TAB> minimum <TAB> ttl

       RR     "rr" <TAB> name <TAB> type <TAB> data <TAB> aux <TAB> ttl

       PTR    "ptr" <TAB> address <TAB> name <TAB> ttl

AUTHOR
       Don Moore <bboy@bboy.net>

HOMEPAGE
       http://mydns.bboy.net

SEE ALSO
       mydns(8), mydns.conf(5), mydnscheck(8), mydnsexport(8)

mydns 1.1.0			   Dec 2015			mydnsimport(8)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net