GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DNS-HOSTS-IMPORT (1)

NAME

dns-hosts-import - generate DNS tables from /etc/hosts entries

CONTENTS

Synopsis
Description
Options
Example

SYNOPSIS

dns-hosts-import [ option... ] filename...
dns-hosts-import -Help
dns-hosts-import -VERSion

DESCRIPTION

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

OPTIONS

The following options are understood:
-Help Provide some help with using the dns-hosts-import program.
-VERSion Print the version of the dns-hosts-import program being executed.
All other options will produce a diagnostic error.

[Include document man1/arglex.so]

[Include document man1/exit.so]

EXAMPLE

If you have an /etc/hosts file which looks like this:


[Include document man1/example.hosts.so]

By using the following command

% dns-hosts-import /etc/hosts hosts-tmp
%


You will see an output file of the form


$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


You are expected to manually edit this into the rest of the database. You especially need to put sensable values into the SOA record.

See dns-hosts(1) for how to retrieve your /etc/hosts file once you have imported it.

[Include document man1/copyright.so]

[Include document man1/author.so]

Search for    or go to Top of page |  Section 1 |  Main Index


*(N) (1) -->

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.