Simple DNS Configuration

Mikhail Goriachev mikhailg at webanoide.org
Mon Jul 24 07:54:03 UTC 2006


Hi,

Try this and let us know how it goes.



$ORIGIN example.org.
> $TTL 3600        ; 1 hour
> example.org.  IN      SOA    ns.example.org. admin.example.org. (
>                                 2006072400      ; Serial
>                                 1d                    ; Refresh
>                                 2h                    ; Retry
>                                 100d                 ; Expire
>                                 1h )                  ; Minimum TTL
> 
@		IN	NS	ns.example.org.
		IN	A	192.168.1.1 ; or whatever your IP is.
> 
> ; Machine Names
> localhost	IN      A       127.0.0.1
> host1		IN      A       192.168.1.1
> host2		IN      A       192.168.1.2
> host3		IN      A       192.168.1.3
> =====


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: mikhailg at webanoide.org
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B


More information about the freebsd-questions mailing list