named Problem

Andrew Boothman A.J.Boothman at
Thu Feb 8 16:00:41 GMT 2001

So are you saying that I should make up some kind of domain 
name and configure my machines with names like 
"win98box.home" and "freebsdbox.home"?

Will this enable me to get named to resolve DNS queries for these 


Date sent:      	Wed, 07 Feb 2001 09:56:54 +0000
From:           	Richard Smith <rsmith at>
To:             	Andrew Boothman <a.j.boothman at>
Subject:        	Re: named Problem

>Andrew Boothman wrote:
>> Hi!
>> Well you where all so much help with the last problem, here's
>> another. :-)
>> Same box, but this time I constantly have sendmail complaining
>> that, "My unqualified hostname (gateway) unknown", and "unable
>> to qualify my own domain name (gateway)".
>> Now, I haven't given the machine a domain name, I didn't think one
>> was needed, and I just set hostname="gateway" in /etc/rc.conf
>> /etc/resolv.conf just reads "nameserver" as the machine
>> is running its own named so that machines on the local network
>> can use it for DNS queries. "named_enable="YES" is in
>> /etc/rc.conf and named is running and processing DNS queries
>> about external hosts, no problem.
>> I'm not sure how to cure this problem with sendmail however. I've
>> entered "forwarders{x.x.x.x;x.x.x.x;};" with the IP addresses of my
>> ISPs DNS servers and also "listen-on{,}" to
>> ensure that the machine will only answer requests from itself and
>> the internal network. Both of these things seem to work fine.
>> I'd like to have the machine resolve requests for the names of all
>> the hosts on the network (all 4 of them), but I'm not sure how to do
>> this from named's man pages. There is no domain name involved,
>> and all the machines just have one 'word' names like "win98box",
>> etc...
>I can't see how one would use named without a domain name, as the tables
>are accessed by domain name. You can make the domain name largely
>redundant by adding a `domain' or `search' line to your
>/etc/resolv.conf. (The windows boxen can be similarly configured).
>I have found that it's often better for your border gateways to use
>their one true Internet FQDN as their host name, it causes less
>confusion to applications. However, if you must use a private internal
>name, sendmail can be forced to use the FQDN from it's config files.
>Some mail hubs will not accept mail from hosts claiming to be some
>unresolvable name.
>If you wan't more detail and example files, email me.
>This message has been checked for all known viruses, by Star Internet, 
>delivered through the MessageLabs Virus Control Centre. 
>For further information visit:

More information about the Ukfreebsd mailing list