DNS configuration problems

Source: Internet
Author: User
Tags nslookup
DNS configuration problems-Linux Enterprise Application-Linux server application information, the following is a detailed description. I just learned about DNS, but I don't know much about it. I sent my configuration file to you to see what went wrong:
1. named. conf/etc/named. conf/var/named/chroot/etc/named. conf
Options {
Directory "/etc ";
Pid-file "/var/run/named. pid ";
};

Zone "." IN {
Type hint;
File "/etc/db. cache ";
};

Zone "rocklinux.com" IN {
Type master;
File "/var/named/rocklinux.com. hosts ";
Allow-update {none ;};
};

Zone "255.168.192.in-addr. arpa" IN {
Type master;
File "/var/named/20. zone ";
Allow-update {none ;};
};

Zone "fancy.com" IN {
Type master;
File "/var/named/fancy.com. zone ";
Allow-update {none ;};
};

2. 192.168.20.rev
$ TTL 86400
@ In soa rocklinux.com. root.rocklinux.com .(
1997022702
28800
14400
3600000
86400)
In ns fancy
198 in ptr mail.rocklinux.com
198 in ptr www.rocklinux.com
198 in ptr mail.fancy.com
198 in ptr www.fancy.com
3. rocklinux.com. hosts
$ Ttl 86400
@ In soa rocklinux.com. root.rocklinux.com .(
1313200432
10800
3600
604800
38400)
In ns fancy
In mx 10 mail
Fancy in a 192.168.20.198
Www in a 192.168.20.198
Mail in a 192.168.20.198


4. nslookup mail.rocklinux.com
Server: 192.168.20.198
Address: 192.168.20.198 #53

Name: mail.rocklinux.com
Address: 192.168.20.198

5. nslookup 192.168.20.198
Server: 192.168.20.198
Address: 192.168.20.198 #53

198.20.168.192.in-addr. arpa name = mail.fancy.com. g0168.192.in-addr. arpa.
198.20.168.192.in-addr. arpa name = www.fancy.com. g0168.192.in-addr. arpa.
Related Article

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.