Solved

Secondary DNS and NIS on aix 4.2

Posted on 1997-05-08
3
470 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SD - WAN 2 44
Radius Debug Error 16 54
Internet problem with a router wifi in our iPhone 31 80
cmd: can't connect using netsh command 14 42
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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.
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.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now