Technical Tip: Verify IP resolution of a domain when in isolation
Description
Solution
Determine the IP address resolution of a particular domain by using the 'dig' command in the Server/Application Server CLI:
dig @<eth1 IP address> <domain>
dig @192.168.23.2 cnn.com
; <<>> DiG 9.9.4-RedHat-9.9.4-38.el7_3.2 <<>> @192.168.23.2 cnn.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59534
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;cnn.com. IN A
;; ANSWER SECTION:
cnn.com. 30 IN A 192.168.23.2
;; AUTHORITY SECTION:
. 30 IN NS isol.bradfordnetworks.com.
;; ADDITIONAL SECTION:
isol.bradfordnetworks.com. 15 IN A 192.168.23.2
dig @172.16.99.2 safebrowsing.google.com
; <<>> DiG 9.9.4-RedHat-9.9.4-73.el7_6 <<>> @172.16.99.2 safebrowsing.google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27255
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;safebrowsing.google.com. IN A
;; ANSWER SECTION:
safebrowsing.google.com. 10800 IN CNAME sb.l.google.com.
sb.l.google.com. 270 IN A 172.217.8.174
The configuration file 'zones.common' has this domain listed. This can be verified with the following command:
grep -i safebrowsing.google.com /var/named/chroot/etc/zones.common
zone "safebrowsing.google.com" {
Related articles:
Troubleshooting Tip: DNS service for isolation network
Technical Tip: Troubleshooting domain resolution in the isolation network