Confusion about secondary DNS on RedHatAs3.0

Source: Internet
Author: User
Article Title: confusion about secondary DNS on RedHatAs3.0. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Primary DNS address: 192.168.176.11 [pridns.mydomain.com]
Secondary DNS address: 192.168.176.33 [ns3.mydomain.com]
  
If you directly copy/etc/named. conf of the primary DNS [192.168.176.11], it is okay to start the DNS service,
[Root @ ns3 root] # sftp root@192.168.176.11:/etc/named. conf/etc/named. conf
...........
[Root @ ns3 root] # netstat-tal
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
Tcp 0 0 192.168.176.33: domain *: * LISTEN
Tcp 0 0 localhost. locald: domain *: * LISTEN
Tcp 0 0 localhost. localdom: rndc *: * LISTEN
Tcp 0 0 localhost. localdo: 32772 localhost. localdom: rndc TIME_WAIT
Once changed
.......
Zone "mydomain.com" IN {
Type slave;
Masters {192.168.176.11 ;};
File "named.mydomain.com ";
Allow-update {none ;};
};
.............
The DNS service cannot be started,
[Root @ ns3 root] #/etc/init. d/named restart
Stopping named: rndc: connect failed: connection refused
[FAILED]
Starting named: [OK]
[Root @ ns3 root] # netstat-tal
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
Tcp 0 0 *: ssh *: * LISTEN
  
What exactly is this?
  
Configuration of the primary DNS [192.168.176.11]/var/named.mydomain.com
# More/var/named/named.mydomain.com
$ TTL 86400
@ In soa pridns.mydomain.com. root.pridns.mydomain.com .(
2004051200; Serial
28800; Refresh
14400; Retry
3600000; Expire
86400); Minimum
In ns pridns.mydomain.com.
In ns ns3.mydomain.com.
  
Pridns.mydomain.com. in a 192.168.176.11
Ns3.mydomain.com. in a 192.168.176.33

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.