OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of gyrex »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - gyrex

Pages: [1]
1
24.7 Production Series / Issue with UnboundDNS not answering DNS requests for local hostnames
« on: November 04, 2024, 02:41:17 am »
Hi guys,

I've got a strange issue where DNS lookup requests to UnboundDNS/opnSense aren't being answered. The only way I can get it working again is to restart the UnboundDNS service. These are requests to hostnames which should have been registered in DNS by DHCP. There's nothing of interest in the unbound logs.

Any ideas on how I can troubleshoot this?

Original dig request before restarting unbound:

Code: [Select]
dig @10.11.12.1 buildserver.lan

; <<>> DiG 9.10.6 <<>> @10.11.12.1 buildserver.lan
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 40384
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

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

;; AUTHORITY SECTION:
. 2111 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2024110301 1800 900 604800 86400

;; Query time: 3 msec
;; SERVER: 10.11.12.1#53(10.11.12.1)
;; WHEN: Mon Nov 04 11:31:42 AEST 2024
;; MSG SIZE  rcvd: 119

After restarting unbound service:

Code: [Select]
dig @10.11.12.1 buildserver.lan

; <<>> DiG 9.10.6 <<>> @10.11.12.1 buildserver.lan
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56202
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
buildserver.lan. 3600 IN A 10.11.12.225

;; Query time: 4 msec
;; SERVER: 10.11.12.1#53(10.11.12.1)
;; WHEN: Mon Nov 04 11:32:27 AEST 2024
;; MSG SIZE  rcvd: 60

Here are my unbound DNS settings:


Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2