[NTLUG:Discuss] dns question - how to assign an address to foo.com

Randall Gibson wabbit at tvec.net
Mon Feb 12 18:54:29 CST 2001


I "Think" this is what you want... 
/etc/hosts

foo.com			123.234.123.4
www.foo.com 	234.123.234.6 

On Mon, 12 Feb 2001 14:01:28 David Camm wrote:
> i need to add an address record to an existing
> domain so that the domain
> name without a higher level qualifier points
> to an IP.  i.e. foo.com
> needs to point to 123.234.123.4
> 
> www.foo.com has a different IP address.
> 
> i don't believe that a record in the db file
> like:
> 
>      IN A 123.234.123.4
> 
> would work. 
> 
> the DNS/Bind book is no help - BUT, i get the
> feeling that:
> 
> foo.com. IN SOA ........
> 
> @   IN A 123.234.123.4
> www IN A 234.123.234.6 
> 
> would work. 
> 
> am i correct, or is there another method?
> 
> thanks.
> 
> david camm
> advanced web systems
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss
> 
> 



More information about the Discuss mailing list