0

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. 1. How can i proceed to see the authority, answer when i use the dig command? 2. how can i change the default ip adress of my server ?

!!! For my DNS server i used BIND I dont know is well done the server if you have any other tutorial for this kind of server that would be very helpful. Thank you !!!!

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

0

Q:How can i proceed to see the authority, answer when i use the dig command?

A: dig q-soa [domain name]

Example: dig q-soa google.com

; <<>> DiG 9.6-ESV-R3 <<>> q-soa google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 9925 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION: ;q-soa. IN A

;; Query time: 0 msec ;; SERVER: 168.44.244.61#53(168.44.244.61) ;; WHEN: Wed Jan 9 10:54:11 2019 ;; MSG SIZE rcvd: 23

;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21737 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION: ;google.com. IN A

;; ANSWER SECTION: google.com. 151 IN A 172.217.20.110

;; Query time: 42 msec ;; SERVER: x.x.x.x#53(x.x.x.x) ;; WHEN: Wed Jan 9 10:54:11 2019 ;; MSG SIZE rcvd: 44

Q: how can i change the default IP address of my server?

A:Static IP in Debian 9

As far as tutorials I can't be much help. This book taught me everything I know about DNS/BIND. It's knowledge transcends OS as well. What you will learn will carry forward between Debian, RHEL, Windows... Every OS

  • The q-soa thing looks broken. You're just looking up the name q-soa which doesn't make any sense. – Håkan Lindqvist Jan 9 at 22:49

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.