Simple DNS Configuration

David Stanford dthomas53 at gmail.com
Mon Jul 24 08:51:04 UTC 2006


On 7/24/06, Mikhail Goriachev <mikhailg at webanoide.org> wrote:
>
> 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
>

Thanks Mikhail, that was it:
=====
@               IN      NS      ns.example.org.
=====

Now it appears to be working correctly and responding to queries, however
I'm noticing I continue to get that same error when I add my CNAME entry:
=====
@              IN       CNAME    www.example.org.
=====

Doesn't the "@" simply represent the domain, in this case "example.org"?
That makes this translate from example.org -> www.example.org, correct?

-David
-- 
[root at fbsd ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.


More information about the freebsd-questions mailing list