我想在状态字段中发送一些不同的响应,而不是NOERROR
,是否可以更改标志
[root@asclient01 ~]# dig as1.abccd03.local
; <<>> DiG 9.9.4-RedHat-9.9.4-61.el7_5.1 <<>> as1.abcd03.local
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: **NOERROR**, id: 6700
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;as1.abcd03.local. IN A
;; ANSWER SECTION:
as1.abcd03.local. 60 IN A 10.166.236.97
;; AUTHORITY SECTION:
abcd03.local. 60 IN NS primary.abcd03.local.
;; ADDITIONAL SECTION:
primary.abcd03.local. 60 IN A 10.165.50.221
;; Query time: 2 msec
;; SERVER: 10.165.50.221#53(10.165.50.221)
;; WHEN: Wed Nov 21 11:32:57 UTC 2018
;; MSG SIZE rcvd: 100