Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 21:18:05 +1000
From:      Mikhail Goriachev <mikhailg@webanoide.org>
To:        David Stanford <dthomas53@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Simple DNS Configuration
Message-ID:  <44C4AC6D.10305@webanoide.org>
In-Reply-To: <f2c91f770607240151j3b2cecei452e187ef79454e1@mail.gmail.com>
References:  <f2c91f770607240000w44693d61jde950fbe618f4574@mail.gmail.com>	<44C47C7E.5030609@webanoide.org> <f2c91f770607240151j3b2cecei452e187ef79454e1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David Stanford wrote:
> 
> Thanks Mikhail, that was it:
> =====
> @               IN      NS      ns.example.org.
> =====


No worries, glad to hear it's cranking.


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


Hmmm... Not sure how that one goes.


> Doesn't the "@" simply represent the domain, in this case "example.org"?


Yes, that's correct.


> That makes this translate from example.org -> www.example.org, correct?


The following gives you the result you want:

@               IN A            192.168.1.1 ; whatever your www's IP is

So your DNS will respond with the same IP no matter if it's example.org
or www.example.org (assuming www has been declared somewhere as well).

Hopefully this helps.


Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C4AC6D.10305>