Xymon Mailing List Archive search

DNS Test - No Record Lookup

list Ryan Novosielski
Thu, 24 Sep 2009 10:32:25 -0400
Message-Id: <user-347c77e9d51f@xymon.invalid>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

From my experience with Solaris, I believe that domain and search are
redundant if both say the same thing. I am not 100% sure on this, but I
have a suspicion. Might want to also look at /etc/nsswitch.conf.

=R

Craig Cook wrote:
This file is wrong. You also need:

 
search domain.com

 
Your “dig @solaris solaris” command showed that you are not resolving
correctly.  Dig did not return an answer.

 
Just to confirm, my /etc/resolv.conf looks like this


# generated by NetworkManager, do not edit!
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# SEARCH=lab.foo.com bar.foo.com

domain domain.com
nameserver 192.168.X.X
 
Craig
- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkq7gusACgkQmb+gadEcsb4rTACfa0t+gQknT7UcR0zPlUzCHOeG
WkIAn03oG6BsYBCqjtfT9c/V/OPDyxdq
=5bqW
-----END PGP SIGNATURE-----