I have a project to do for college. The project is a DNS server with client. I created the DNS server but when I want to see how it works I use the command dig myservername.
- How can I proceed to see the authority, answer when I use the dig command?
- How can I change the default IP address of my server?
!!! For my DNS server I used BIND
I don't know if well done the server. If you have any other tutorial for this kind of server that would be very helpful.
This is the output when I use the dig command:
root@debian:/home/radu# dig -x 10.0.2.30
; <<>> Dig 9.10.3-P4-Debian <<>> -x 10.0.2.30
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMANIN, id: 7666
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; ENDS: version: 0, flags:; udp: 4096
;; QUESTION SECTION :
; 30.2.0.10.in-adr.arpa. IN PTR
;; QUERY time: 2 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: WED JAN 09 15:40:33 EET 2019
;; MSG SIZE rcvd: 51