Solved

Secondary DNS and NIS on aix 4.2

Posted on 1997-05-08
3
474 Views
Last Modified: 2013-12-23

Hello,

I am trying to configure a secondary DNS and NIS on my platform with
aix 4.2 and having some difficulties.

0
Comment
Question by:jluc
[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
3 Comments
 

Expert Comment

by:jbirtley
ID: 1582065
Can you be more specific about the difficulties you are having?  What error messages have you got for instance?
0
 
LVL 1

Expert Comment

by:sherwood
ID: 1582066
Questions:
      1.  Do you know your NIS domain name?
      2.  Is there a NIS master server on the same subnet
as the machine you want to set up secondary service on?
      3.  Are you comfortable with compiling code? (It
may be easier to set up DNS using a standard PD version of
named.)
      4.  Do you have root access to this machine.

0
 
LVL 2

Accepted Solution

by:
df020797 earned 100 total points
ID: 1582067
To setup a secondary nameserver:

Make sure that in the primary nameserver the secondary nameserver is listed with a NS record. In the named.boot file of the secondary nameserver make sure all entries supposed to be a secondary entry its formatted like this:
SECONDARY <TAB> domain-to-secondaire <TAB> IP-to-prim-of-thedomain <TAB> filename-to-save-info-in

Secondary NIS:
Setup a ypserv on it and then:
cd /var/yp
mkdir ypdomainname
ypwhich -m | awk '{print $1}' > /tmp/Mapfile
for map in `cat /tmp/Mapfile`; do
ypfxr -c $map
done

On the master, cd /var/yp/ypdomainname
ypcat -k ypservers > TMP
echo nameofnewslave >> TMP
makedbm TMP ypservers
yppush ypservers
rm TMP

Tahts shopud do the trick.
Dont forget to check so you yp clients has both ypservers listed in their /etc/hosts.


0

Featured Post

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
svi stops eigrp advertisement 13 63
cannot view videos at msnbc 12 70
Disable network connection item via group policy? - is this possible? 4 40
Networking Monitoring Tools 10 72
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

730 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