Domain name as hostname

Mark Jeftovic markjr at privateworld.com
Thu Jan 13 17:16:48 UTC 2000


On 13-Jan-00 Jack Wenzinger wrote:
> I have a requirement to create a DNS entry so that our domain is also a 
> device that resolves to our www.company.com.  I had thought that this could 
> be accomplished by creating a CNAME record like:
> 
> company.com.   IN    CNAME   www.company.com.
> 
> This worked on the Primary server, however it created two problems:
> 
> The secondary server could no longer obtain the db.company file, it would 
> now look at the www.company.com server for the file.
> 
> The other problem is that mail was affected.  There is a statement for mail:
> 
> comany.com.    IN    MX   5   mailserver1.company.com
> 
> This statement precedes the CNAME statement above.
> 
> Anyone know the proper way to set this up?  I wasn't able to find the info 
> out of the Oreilly book.
> 
> Thanks is advance for the hand holding.
> 


Switch it around. (Set company.com to an a record, cname www to it)

-mark

---
|||| mark jeftovic    (MJ177)   ====  http://stuntpope.cyberpunk.cc/      ||||
|||| easyDNS Technologies Inc.  ====  http://www.easyDNS.com/             ||||
------------------------------------------------------------------------------
 dns hosting / domain registrations / web forwarding / mail forwarding / etc
------------------------------------------------------------------------------



More information about the bind-users mailing list