Solved

Adding DNS entries in SunOS 5.6

Posted on 2004-08-11
6
776 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses

632 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