OpenSolaris – Manual Network DNS issue
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:
- Opensolaris – Samba and Network browsing If you’ve setup samba (rather than the builtin cifs/smb) chances...
- selinux – opening additional ports / or disabling If you are having problems starting apache on a non-standard...
- ESX – network utilization One of the best articles i have found on this...
- Troubleshooting – Time Slider (zfs snapshots) 1. snapshot complains about no access to cron This problem...
- 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
thanks for the article. coming from a linux background, i was wondering why names won’t resolved.