Simple DNS Configuration
Mikhail Goriachev
mikhailg at webanoide.org
Mon Jul 24 11:18:38 UTC 2006
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 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