problem with secondary

problem with secondary

Post by simo » Tue, 31 Aug 1999 04:00:00



Hi BIND users,

I have a a primary,dns1.*soft.com.sg and a
secondary dns2.*soft.com.sg server.

There is a need to host a virtual domain called *soft.com.my.

I created   named.* for *soft.com.my on
my primary and it works.

Quote:> *soft.com.my

Server:  dns1.*soft.com.sg
Address:  203.127.51.133
Aliases:  133.51.127.203.in-addr.arpa

Name:    *soft.com.my
Address:  203.127.51.130

I did the same for dns2 but it doesn't seem to work.

Quote:> *soft.com.my

Server:  dns2.*soft.com.sg
Address:  203.127.51.136

*** dns2.*soft.com.sg can't find *soft.com.my: Non-existent
host/domai

I've already set up my secondary server as below what seems to  be the
problem.

named.boot for secondary server

directory                              /var/named
cache           .                      named.ca
primary         *soft.com.sg       named.hosts
secondary       51.127.203.in-addr.arpa named.rev
secondary       0.0.127.in-addr.arpa   named.local
secondary       *soft.com.my        named.*

* named.hosts for secondary server

(
                1999010608 7200 3600 3600000 1200 )
                        NS      dns1.*soft.com.sg.
                        NS      dns2.*soft.com.sg.
                        MX      10 *soft.com.sg.
localhosts.             A       127.0.0.1
dns1                    A       203.127.51.133
.
.
*soft.com.sg.       A       203.127.51.130

* named.rev     for secondary server

$ORIGIN 127.203.in-addr.arpa.
51              IN      SOA     dns1.*soft.com.sg.
root.*soft.com.sg. (
                1999000002 28800 14400 3600000 2400 )
                IN      NS      dns1.*soft.com.sg.
                IN      NS      dns2.*soft.com.sg.
;$ORIGIN 51.127.203.in-addr.arpa.
130             IN      PTR     *soft.com.sg.
                IN      PTR     *soft.com.my.

* named.local for secondary server

                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
                NS      dns1.*soft.com.sg.
                NS      dns2.*soft.com.sg.
1       IN      PTR     localhost.

* named.*    for secondary server

$ORIGIN com.my.
*soft       IN      SOA     dns1.*soft.com.sg.
webster.*soft.com.sg.
 (
                1999072200 3600 3600 3600000 1200 )
                IN      NS      dns1.*soft.com.sg.
                IN      NS      dns2.*soft.com.sg.
                IN      A       203.127.51.130
                IN      MX      10 *soft.com.my.
$ORIGIN *soft.com.my.
localhost       IN      A       127.0.0.1
www             IN      A       203.127.51.130

 
 
 

1. NIS problems after secondary server death

Hello,

I recently had a secondary NIS server die and am having difficulty in
figuring out what needs to be done to completely restore the system
to health. In the longer term, I definitely need to set up a replacement
secondary server, but for the moment I am just trying to get the main
server distributing maps properly.

Ever since the death of 'edc' I have been getting messages like the
following:

bash-2.00# make
updated passwd

nis server not registered at edc.

nis server not registered at edc.
pushed passwd
updated netid

nis server not registered at edc.
pushed netid

Clearly the master server is still looking for its slave. After searching
for a configuration file to change by hand (and failing), I stumbled on
ypinit -c and attempted to change the ypserver set to just the master
server 'mast'.

As far as I can see, this has made no difference. I have stopped and
restarted NIS services on the master, but this has had no apparent effect.

Must I reboot the master server to change its state? I finally found the
apparently relevant configuration file in

        /var/yp/binding/<domainname>/ypservers

which now contains an entry for mast, but not edc.

A 'ypcat -k ypservers' yields

mast
edc

So I clearly haven't succeeded in changing the relevant NIS map.

In addition, I am suddenly having (possibly unrelated) problems with
user account creation.  When I attempt to password an account (from
the server or any of the clients) I get the session:

bash-2.00# passwd fakeperson
New password:
Re-enter new password:
passwd: couldn't create client

The reference to 'client' makes me wonder whether this is a manifestation
of my more general NIS problems.

All help will be much appreciated. I am now off to try and find a
machine that has both a DPS server and access to the Solaris Answerbooks
to see if I can get some help there.

Maybe another one of these ancient Sparc 1s will keel over
today. Bleeaahhh!!

Regards,

Steve Butterworth

2. Small Linux Print Server

3. Problems with secondary IDE port

4. Mounting FAT32 under RedHat v5.0

5. Help me! Problem with secondary hard disk.

6. Key threshold & repeat rate....

7. Problems w/ secondary interface in 1.3.23...

8. Q: what version no. Fvwm?

9. Problem with Secondary Controller and 3rd Drive

10. Q: Problem with secondary groups when user login by KDM

11. Problem with secondary DNS from primary DNS (WIN2K)

12. Problem with Secondary Controller and 3rd drive

13. Storm install problem with Secondary IDE controller