Michael C. Toren on Fri, 7 Jan 2000 13:27:25 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] what do I put in the dns zone file to get domain.com to resolve to the same ip as www.domain.com

  • From: "Michael C. Toren" <mct@netaxs.com>
  • To: plug@lists.nothinbut.net
  • Subject: Re: [PLUG] what do I put in the dns zone file to get domain.com to resolve to the same ip as www.domain.com
  • Date: Fri, 7 Jan 2000 13:27:20 -0500 (EST)

> This will work:
> 
> @	SOA	[....]
> @	NS	ns1.isp.net.
> @	NS	ns2.isp.net.
> @	A	10.1.1.1
> www	A	10.1.1.1

I, personally, like to do:

	@	A	10.0.0.1
	www	CNAME	@

Just makes things easier when changing the IP address later on.  Plus, it
solves the problem of people attempting to send mail to foo@www.domain.com,
without having to specifically setup MX records for the www entry.

-mct