Why can't I resolve a few domain names in my dns?

Source: Internet
Author: User
Why can't I resolve a few domain names in my dns? -- Linux Enterprise Application-Linux server application information. For details, refer to the following section. I configured a dns server in linux, but I found that only the domain name I specified in named. conf can be resolved, but other domain names cannot be resolved. What is the problem? (My named. ca has not changed)

Do you understand what you mean?
Do you mean that you can use the local dns to test that only the dns you configured can be resolved?
If dns resolution is required, named. conf must have domain name configuration information.
Named. ca does not need to be changed.

/Etc/resolv. conf
Add the primary dns of your public network

My server is a dns server applied from cnic, my domain name is ml100.net. I found that when I configured my dns server, I directed my client to any website on the server I configured, but recently I found that when my client points the dns server to the dns server I configured, all domain names cannot be resolved, and I can only resolve the domain names in named. it is specified in conf and cannot be parsed even 163.com.

The reverse direction is not set.
Kddns.ml100.net
Dns.ml100.net
Are they yours?
The. zone configuration seems wrong. You didn't point a to your kddns and dns
Here I cannot parse your kddns.ml100.net and dns.ml100.net
Paste it out.

It's mine.
My named. conf
# Named. conf-configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind shocould be put
# In/etc/named. custom
#
Controls {
Inet 127.0.0.1 allow {localhost;} keys {rndckey ;};
};

Include "/etc/named. custom ";

Include "/etc/rndc. key ";

Options {
Directory "/var/named /";
};

Zone "0.0.127.in-addr. arpa "{
Type master;
File "0.0.127.in-addr. arpa. zone ";
};
Zone "100.138.61.in-addr. arpa" IN {
Type master;
File "100.138.61.in-addr. arpa. zone ";
};
Zone "localhost "{
Type master;
File "localhost. zone ";
};
Zone "paysky.com" IN {
Type master;
File "paysky.com. zone ";
};
Zone "ml100.net" IN {
Type master;
File "ml100.net. zone ";
};


My 100.138.61.in-addr. arpa. zone
$ TTL 86400
@ In soa localhost. root. localhost (
2; serial
28800; refresh
7200; retry
604800; expire
86400; ttk
)


@ In ns localhost.
173 in ptr www.paysky.com.
171 in ptr www.ml100.net.


My ml100.net. zone
$ TTL 86400
@ In soa ml100.net. root. localhost (
2; serial
28800; refresh
7200; retry
604800; expire
86400; ttl
)


@ In ns ml100.net.
Kddns in a 61.138.100.171
Www in a 61.138.100.171
@ In a 61.138.100.171
Dns in a 61.138.100.170

The problem is found, but it is strange that it is a ttl problem. But why does ttl affect dns resolution?

Your ml100.net. zone
$ TTL 86400
@ In soa dns.ml100.net. root.dns.ml100.net (add your authoritative dns server name here, so that dns can quickly find your changes
2; serial
28800; refresh
7200; retry
604800; expire
86400; ttl
)


@ In ns dns.ml100.net. Here is the name of your authorized server.
@ In a 61.138.100.171
Kddns in a 61.138.100.171
Www in a 61.138.100.171
Dns in a 61.138.100.171

100.138.61.in-addr. arpa. zone
$ TTL 86400
@ In soa dns.ml100.net. root.dns.ml100.net (same here
2; serial
28800; refresh
7200; retry
604800; expire
86400; ttl
)


@ In ns dns.ml100.net. Here is the dns host name
173 in ptr www.paysky.com.
171 in ptr www.ml100.net.
171 in ptr dns.ml100.net. One missing

I found that when I changed the ttl value, only 64 and 128 of my servers were normal, but it would not work if I changed the ttl value to another one. The dns could not be resolved. I changed the ttl value, 271 and so on cannot be parsed. I am dizzy now. I don't know what the ttl has to do with dns? Let me look for something wrong and see where it actually appears? I also think it is not ttl

Mb dude, I have registered this server from cnic (including management right) in China ), but I didn't tell me "Name of the authorized dns server" from registration to completion. I want to authorize my server to be ". net. How can I find out this?

Controls {
}
The braces are missing.
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.