Skip to content

Instantly share code, notes, and snippets.

@sanglt
Created May 18, 2015 16:51
Show Gist options
  • Select an option

  • Save sanglt/558dde40e188f5f235f7 to your computer and use it in GitHub Desktop.

Select an option

Save sanglt/558dde40e188f5f235f7 to your computer and use it in GitHub Desktop.
bind9 report
root@bmcom:/etc/bind# named-checkconf /etc/bind/named.conf.local
root@bmcom:/etc/bind# named-checkzone businessmention.com /etc/bind/for.businessmention.com
zone businessmention.com/IN: loaded serial 2
OK
root@bmcom:/etc/bind# dig businessmention.com @104.236.29.216
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> businessmention.com @104.236.29.216
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48707
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;businessmention.com. IN A
;; ANSWER SECTION:
businessmention.com. 604800 IN A 104.236.29.216
;; AUTHORITY SECTION:
businessmention.com. 604800 IN NS ns1.businessmention.net.
;; Query time: 1 msec
;; SERVER: 104.236.29.216#53(104.236.29.216)
;; WHEN: Mon May 18 16:50:58 2015
;; MSG SIZE rcvd: 90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment