Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Adding DNS entries in SunOS 5.6

Posted on 2004-08-11
6
Medium Priority
?
777 Views
Last Modified: 2013-12-27
I'm not familiar with how the DNS is setup on our sun box.  We don't have BIND running which is what I'm familiar with, it appears we have something else running which I don't know.  What I want to do is add a few entries into our DNS so these computers can be resolved correctly.  Is it like a zones file in BIND you just have to modify?  Any help would be greatly appreciated.  
0
Comment
Question by:kevin_ma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 11778545
Does /etc/named.conf exist? Does 'ps -ef | grep named | grep -v grep' return a PID for a named process?

Does the network use NIS or NIS+? If so it could be where name resolution is being done and you can tell if either is active by looking at the contents of /etc/nsswitch.conf.
0
 
LVL 48

Expert Comment

by:Tintin
ID: 11778659
DNS runs pretty much the same on a Solaris box as any other box.  Can't remember what version of bind that Solaris 2.6 comes with, but you'd be better off installing a Bind 8 or 9.

Are you sure you sun box is setup as a DNS server?  Do you have a /var/named directory?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11778947
His/her Bind could well be configured to store zone files someplace other than /var/named, but that will be obvious from /etc/named.conf, or perhaps /usr/local/etc/named.conf
0
 
LVL 38

Expert Comment

by:yuzh
ID: 11779971
If you use "ps -ef | grep named | grep -v grep" command cann't see the DNS server
is running, and "named.boot" doesn't exist, then the box is not a  DNS server!

It might use NIS/NIS+ or simply files,
grep hosts /etc/nsswitch.conf

to see what's in use.

also check
/etc/resolv.conf

To see which DNS server is used (the DNS server IP should be in the file).

If you want to setup the BOX as a DNS server, here's the easy way to do it:
  1.You can down the template files from the following site:
     http://developers.sun.com/solaris/technotes/named.html
     please read the README file inside the package
  2. Following the instructions on the page, it should get your DNS going.
     You can find more information about how to set-up DNS in:

         DNS-HOWTO.html">http://www.redhat.com/mirrors/LDP/HOWTO/DNS-HOWTO.html

                   and:
         http://www.ludd.luth.se/~kavli/BIND-FAQ.html

PS: for Solaris 6 or older, you need to use name.boot, Solaris 7 or newer, use
      named.conf
 
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 12160943
PAQed - no points refunded (of 500)

CetusMOD
Community Support Moderator
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question