Home > Networking, OpenSolaris > OpenSolaris – Manual Network DNS issue

OpenSolaris – Manual Network DNS issue

February 11th, 2009 Daz Leave a comment Go to comments

If you have tried to setup a manual IP on your opensolaris box you may find that DNS is not working as you would expect in some cases. nslookup resolves the name to an ip, but pinging doesnt make it to the box…

How to fix;

Edit your /etc/nsswitch.conf file and add the word “dns to the hosts and ipnodes lines
If you make a backup of /etc/nsswitch.conf you can also just copy /etc/nsswitch.dns over it…

cp /etc/nsswitch.dns /etc/nsswitch.conf

You may also want to check that auto-magic mode has been disabled when setting up your networking manually;

svcs -a | grep nwam

If it is enabled type;

svcadm disable svc:/network/physical:nwam

Related posts:

  1. Opensolaris – Samba and Network browsing If you’ve setup samba (rather than the builtin cifs/smb) chances...
  2. ESX – network utilization One of the best articles i have found on this...
  3. opensolaris – network teaming Otherwise known as trunking or link aggregation. I believe it...

Related posts brought to you by Yet Another Related Posts Plugin.

Categories: Networking, OpenSolaris
  1. rino
    July 21st, 2009 at 18:41 | #1

    thanks for the article. coming from a linux background, i was wondering why names won’t resolved.

  1. No trackbacks yet.
To submit your comment, click the image below where it asks you to... Clickcha - The One-click Captcha