Xymon Mailing List Archive search

DNS Test - No Record Lookup

list Ryan Novosielski
Fri, 25 Sep 2009 11:47:14 -0400
Message-Id: <user-7ab0ecf3ffc5@xymon.invalid>

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

Just did an install of Solaris 9 yesterday (which is AWFUL, BTW -- I
think I'd forgotten!). The installation process informed me that if you
have no search lines, it will just use the domain line to search (which
is what I thought).

Ryan Novosielski wrote:
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

iEYEARECAAYFAkq85gIACgkQmb+gadEcsb5yiwCfVbTVU09z4Nm6k/BcN61rgxBJ
kUMAoIoLu9W0toJ+rcTBX3NZ/nvQO/m7
=4rwM
-----END PGP SIGNATURE-----