Comments inline.
On 09/01/2013 08:45 AM, Dan McAllister wrote:
I generally agree with Eric's responses below -- however your current
resolve.conf doesn't JUST identify dns servers; it ALSO defines a
default domain to search.
There are quite a few options which can go in the resolv.conf. See "man
resolv.conf" if you're interested.
*IF* you install pdns-resolver (and I agree with Eric that you should),
you should make your resolv.conf look like:
search pps-inc.com
nameserver 127.0.0.1
According to the man page, "The search list is normally determined from
the local domain name; by default, it contains only the local domain
name." If I understand this correctly, provided the host name is defined
with the fqdn (ie qmt-host.pps-inc.com), a search line with the same
domain name would be redundant.
This "solution" will result in better performance on your mailserver,
without placing a significant additional processing burden on the same
server.
Would you care to elaborate on "better performance"? This is the first
I've seen regarding this.
If you're like me, and often "ssh into" servers in your domain with just
the hostname, you'll want to keep that "search" option in there.
Doesn't the "UseDNS no" option in the sshd_config file take care of
this? I'm probably missing something here.
Having said that, it appears that COS6 requires a nameserver entry in
resolv.conf, contrary to what the man page says, and contrary to COS5
behavior. Looks like a bug to me. Having an empty resolv.conf file is so
rare though, I'm not surprised it hasn't been noticed.
Thanks Dan (and everyone!).
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]