Visit Jeremy's Blog.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 06-21-2012, 04:59 PM   #1
Les Windoze
LQ Newbie
Registered: Aug 2010
Location: Florida
Distribution: RHEL5, RHEL6, Solaris 10
Posts: 18

Rep: Reputation: 1
Configuring a Solaris 10 server as a DNS Client?


I've got a Solaris 10 server with one of the configured NICs connected to a VLAN separate from the rest of my network.
This VLAN talks to a provided router wherein they're doing NAT'ing.
I was instructed to set the DNS for this particular NIC to a specific IP address for their DNS server (no name, just the IP address).
The person instructing me isn't familiar with Solaris
and I'm not familiar enough with Solaris to know exactly where I enter this info:

Does it go in /etc/resolv.conf and if so is the entry simply "nameserver <IP Address>"?
Does it go anywhere else?
Docs where I might find guidance?

Thanks for any assistance.
Old 06-21-2012, 05:20 PM   #2
Senior Member
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,978
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Just put the entries in the /etc/resolv.conf file

Old 06-22-2012, 12:13 AM   #3
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,784

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You also need to add dns as a hosts naming service your /etc/nsswitch.conf file:
hosts: files dns
Restarting nscd might also be necessary:
# svcadm restart name-service-cache

Last edited by jlliagre; 06-22-2012 at 12:15 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
How to configure DNS Server & DNS Client in RHEL4 chanakkya Linux - Networking 1 07-05-2009 01:41 PM
problem in configuring the install server on solaris 9 capricorn80 Solaris / OpenSolaris 2 03-30-2007 02:56 AM
Configuring DNS on Solaris 9.0 khattaking Solaris / OpenSolaris 3 08-09-2006 01:45 PM
configuring dns server on dhcp client ydpk Linux - Networking 3 11-04-2004 10:23 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration