bugs for cname can not be working properly with bind 9.11.4
边明凯
bianmingkai at gmail.com
Tue May 24 15:38:58 UTC 2022
Hello ,
I have run the dns server by myself which installed centos7 and bind
version is BIND 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.9 (Extended Support
Version) ,the domain name is kaixinduole.com
I just create a cname record for tesing ,which is www cname to www.baidu.com.
please see the below :
[root at bind-master-centos7 named]# cat kaixinduole.com.zone$TTL 1D@ IN
SOA ns1.kaixinduole.com. shawn.kaixinduole.com. (
202204276 1H 15M 1W 1D ) IN
NS ns1.kaixinduole.com. IN NS ns2.kaixinduole.com. IN MX 10
mx1 IN MX 20 mx2 IN A 22.3.3.95ns1 IN A 52.130.145.30ns2 IN A 139.217.99.188mx1 IN A 2.1.1.7mx2 IN A 2.1.1.7mx3 IN A 2.1.1.7subversion IN
A 139.219.5.165http IN A 100.2.2.8www IN CNAME
www.baidu.com.mail IN NS ns1.mailharbor IN A 40.73.22.32mail IN NS ns2.mailns1.mail
IN A 139.217.98.3ns2.mail IN A
139.217.98.3file IN NS ns1.filefile IN NS ns2.filens1.file IN A 139.217.98.3ns2.file IN A 139.217.98.3file IN A
52.131.78.18@ IN TXT "v=spf1 a ip4:184.164.141.188
~all"@ IN TXT "YOU CAN CONTACT ME BY PHONE 15810410643"
actually this cname record just does work properly ,the other rest of
record are woring normally .
my testing below:
[root at centos7 ~]# dig harbor.kaixinduole.com; <<>> DiG
9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.9 <<>> harbor.kaixinduole.com;;
global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY,
status: NOERROR, id: 33479;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1,
AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0,
flags:; udp: 512;; QUESTION SECTION:;harbor.kaixinduole.com. IN A;;
ANSWER SECTION:harbor.kaixinduole.com. 21600 IN A 40.73.22.32;; Query
time: 439 msec;; SERVER: 8.8.8.8#53(8.8.8.8);; WHEN: Tue May 24
13:07:51 CST 2022;; MSG SIZE rcvd: 67[root at centos7 ~]# dig
subversion.kaixinduole.com; <<>> DiG
9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.9 <<>>
subversion.kaixinduole.com;; global options: +cmd;; Got answer:;;
->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29175;; flags: qr rd
ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT
PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 512;; QUESTION
SECTION:;subversion.kaixinduole.com. IN A;; ANSWER
SECTION:subversion.kaixinduole.com. 21600 IN A 139.219.5.165;; Query
time: 323 msec;; SERVER: 8.8.8.8#53(8.8.8.8);; WHEN: Tue May 24
13:08:07 CST 2022;; MSG SIZE rcvd: 71[root at centos7 ~]# dig
www.kaixinduole.com # it should be cname to
www.baidu.com .but it actully respond with 1.1.1.1; <<>> DiG
9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.9 <<>> www.kaixinduole.com;;
global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY,
status: NOERROR, id: 46971;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1,
AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0,
flags:; udp: 512;; QUESTION SECTION:;www.kaixinduole.com. IN A;;
ANSWER SECTION:www.kaixinduole.com. 21600 IN A 1.1.1.1;; Query time:
351 msec;; SERVER: 8.8.8.8#53(8.8.8.8);; WHEN: Tue May 24 13:08:23 CST
2022;; MSG SIZE rcvd: 64[root at centos7 ~]#
it should be cname to www.baidu.com .but it actully respond with 1.1.1.1
,1.1.1.1 was the previous configuration . is there any clue forthis issues
?thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20220524/0d8a91a9/attachment-0001.htm>
More information about the bind-users
mailing list