DNS question: Finding just my domain

Matthew Carpenter matt
Mon May 17 11:56:10 PDT 2004


What do you propose the root of your domain resolve to?  You have to explicitly define it.  If you are defining "mydomain.com" in a particular file or section you can create an A record for "@" which is interpretted as the zone you are defining:

@	IN A 69.33.10.246

If you wish for your domain to resolve the the "www" entry, typically the @ will be defined as the A record, and www can be a CNAME, if you so choose.



On Thu, 27 Nov 2003 09:07:50 -0500
Joel Hammer <joel at hammershome.com> wrote:

> I run a DNS on my local home network.
> 
> Everything works fine except that the domain name alone doesn't resolve
> to anything, eg:
> 
> nslookup fred (a known member of mydomain)
> works and gives fred.mydomain.com but:
> 
> nslookup mydomain.com  
> doesn't give anything.
> 
> This confuses fetchmail, which refuses to deliver mail from a domain it
> can't resolve.
> 
> I have solved this problem the brute force way, by just putting:
> 
> mydomain.com. A IN 192.168.1.6
> 
> into my configuration file, but this seems, well, how shall I say it,...
> dumb?
> 
> Is there a proper way to configure my DNS to return an ip address when
> just the domain name is requested?
> 
> 
> Joel
> 
> 
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
> 
> 


-- 
Matthew Carpenter 
matt at eisgr.com                          http://www.eisgr.com/

Enterprise Information Systems
* Network Server Appliances
* Network Consulting, Integration & Support
* Web Integration and E-Business



More information about the Linux-users mailing list