LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
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.

Notices


Reply
  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?


Hi.

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
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

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

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

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

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


Reply



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

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:55 AM.

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