Does "@" in CNAME record not work?

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Thu Jul 12 23:48:01 UTC 2001


> 
> Barry, Kevin, et al,
> 
> Ok, ok, I give up.  I *got* it already :)!  
> 
> So, this still leaves me with the question about what to do, per my
> earlier post:
> 
> 
> > > So, if, as in my case, the name server and the web server and the base
> > > domain all have the same IP address (as in my case), and if the @
> > > doesn't work, and if the mydomain.com. doesn't work, and I don't want to
> > > use an A record, how can I assign an IP address to the base zone/domain
> > > name??
> > >
> > > In other words, I want something like:
> > >
> > > mydomain.com            192.168.0.4
> > > ns1.mydomain.com        192.168.0.4
> > > www.mydomain.com        192.168.0.4
> 

	mydomain.com		SOA ...
	mydomain.com		NS ns1.mydomain.com
	mydomain.com            A 192.168.0.4  ; must be an A record
	ns1.mydomain.com	A 192.168.0.4  ; must be an A record
	www.mydomain.com	CNAME mydomain.com

	Lobby the web vendor to support SRV records so that you can
	use the following and only require the A record in one place.

	mydomain.com		SOA ...
	mydomain.com		NS ns1.mydomain.com
	ns1.mydomain.com	A 192.168.0.4  ; must be an A record
	_http._tcp.mydomain.com SRV 0 0 80 ns1.mydomain.com
	_http._tcp.www.mydomain.com SRV 0 0 80 ns1.mydomain.com

--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list