Comments (3)
I could not reproduce this. I also don't see a reason for that behavior in the code either.
Are you sure that you are editing a configuration file that is read by the running Unbound?
If so, maybe you have conflicting configuration later on in the file?
from unbound.
Here is my unbound.conf
`
server:
interface: 0.0.0.0
access-control: 192.168.0.0/24 allow
access-control: 127.0.0.1 allow
access-control: ::1 allow
access-control: 0.0.0.0/0 deny
access-control: ::/0 deny
pidfile: "/var/run/unbound.pid"
use-syslog: yes
verbosity: 1
log-queries: yes
log-replies: yes
local-zone: "adserver.example.com" always_nxdomain
local-zone: "adserver1.example.com" always_nxdomain
local-zone: "adserver2.example.com" always_nxdomain
local-zone: "adserver3.example.com" always_nxdomain
local-zone: "1-23a.com" always_nxdomain
local-zone: "1-23b.com" always_nxdomain
local-zone: "1f23b.com" always_nxdomain
local-zone: "12g3.com" always_nxdomain
local-zone: "1g23.com" always_nxdomain
local-zone: "1234.com" always_nxdomain
local-zone: "123a.com" always_nxdomain
local-zone: "12322.com" always_nxdomain
`
@gthess
from unbound.
I still can't reproduce it. I get NXDOMAIN on all those local zones.
Could you try unbound-control list_local_zones
on a running Unbound instance and see if you get all your zones (and some more from default configuration) back?
You would need:
remote-control:
control-enable: yes
in your configuration. If you get an error that remote control is not setup you could run unbound-control-setup
to generate the appropriate default keys.
from unbound.
Related Issues (20)
- fatal error: Could not initialize thread / error: reading root hints HOT 8
- a heap-buffer-overflow issue in function cfg_mark_ports of file util/config_file.c
- Unable to resolve .eu TLD HOT 5
- Low Throughput Issue with unbound DNS over TLS on Ubuntu 22.04 HOT 14
- unbound compiling question HOT 5
- Option for unbound-control list_forwards to list IPv6 only or IPv4 only upsreams
- 在配置EDNS Client Subnet 后部分域名无法获取DNS解析 HOT 9
- There are memory leaks with SIGHUP HOT 6
- [FR] Introduce libunbound-control library for external consumers HOT 2
- [FR] Does latest unbound to supports on Ubuntu 24.04 HOT 1
- Intermittent DNS blocking failure with local-zone and always_nxdomain HOT 23
- [SERVFAIL] Unbound with DoT enabled fails to resolve certain websites HOT 4
- [FR] Managing Cache Deletion and Fallback to Forwarding During Unbound Recursive DNS Failures HOT 5
- [BUG] Problems to build unbound with nghttp2 and OpenSSL 3.3.0 / 3.2.1 HOT 3
- Unbound 1.20 Cachedb broken? HOT 34
- SHOULD in section 4.2 of RFC 9460 not implemented
- Unbound cache question because I'm confused HOT 2
- Chroot location question HOT 1
- Unbound 1.20 crashes in less than one hour, in libevent HOT 4
- [FR] Clear both in-memory and `cachedb` module cache with `unbound-control flush*` commands HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unbound.