如何查看域名解析是否生效
[root@yqxc-sljt20200701-1 ~]# nslookup www.slf.cn
Server: 114.114.114.114
Address: 114.114.114.114#53
Non-authoritative answer:
Name: www.slf.cn
Address: 10.89.7.5
[root@yqxc-sljt20200701-1 ~]# dig www.slf.cn
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-16.P2.el7_8.6 <<>> www.slf.cn
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31500
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.slf.cn. IN A
;; ANSWER SECTION:
www.slf.cn. 0 IN A 10.3.0.5
;; Query time: 77 msec
;; SERVER: 114.114.114.114#53(114.114.114.114)
;; WHEN: 三 8月 12 10:57:55 CST 2020
;; MSG SIZE rcvd: 51
职称