0

Unknown server when using "dig"

Hi, I have a RasPi hosting NextDNS cli with the IP 192.168.1.5 - LAN 192.168.1.0/24 - my DHCP serve the RasPi as DNS. When I do a dig from my MacBook using NextDNS app (VPN) because the profile doesn't work. Here is the result :

; <<>> DiG 9.10.6 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20990
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.com. IN A

;; ANSWER SECTION:
google.com. 300 IN A 142.250.201.174

;; Query time: 198 msec
;; SERVER: 192.0.2.42#53(192.0.2.42)
;; WHEN: Mon Aug 15 05:29:13 CEST 2022
;; MSG SIZE rcvd: 55

The "SERVER" is wrong, what it this ? Doing a dig on my RasPi shows me the right server which is the RasPi.

3 replies

null
    • R_P_M
    • 2 yrs ago
    • Reported - view

    That’s not wrong actually, because by using the NextDNS app it won’t be going to your RasPi. The app sets up a local vpn with all dns lookups going through that local IP address and then on to a DoH connection to NextDNS. 

    • puchijon
    • 2 yrs ago
    • Reported - view

    Oh okay I see, now I understand why :) Thanks !
    Btw, do you have any clue why is my profile applied/configured but the DNS is always "inactive", even if I put it on "active" it disable itself after. Is it because I'm on Public Beta ? 

      • R_P_M
      • 2 yrs ago
      • Reported - view

      Johnny BOI Oh, you mean MacOS 13.x? There were some odd issues with NextDNS a while ago, I forget the exact problems though. 

Content aside

  • 2 yrs agoLast active
  • 3Replies
  • 78Views
  • 2 Following