What's new

Unbound Show local names in unbound log requests

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Milan

Senior Member
Hello, is it possible to show local names or IPs in unbound log for requests instead of 127.0.0.1 ?
 
Don't think this is possible
 
Hello, is it possible to show local names or IPs in unbound log for requests instead of 127.0.0.1 ?
The unbound_manager default is to accept/identify DNS resolver requests from the router's dnsmasq (127.0.0.1)

To allow unbound to accept/identify direct requests from individual LAN clients use unbound_manager command:

Code:
e  = Exit Script [?]

A:Option ==> dnsmasq disable

 If you currently use or rely on dnsmasq features such as Diversion/x3mRouting etc., then re-consider.

 Do you still want to DISABLE dnsmasq?

 Reply 'y' or press [Enter]  to skip
y

To revert to using dnsmasq as the DNS resolver for LAN clients use:

Code:
A:Option ==> dnsmasq

09:45:17 Configuring dnsmasq to be the primary DNS for ALL LAN Clients.....

09:45:19 Checking 'unbound.conf' for syntax errors.....
09:45:21 Saving unbound cache to '/opt/share/unbound/configs/cache.txt'
09:45:21 Requesting unbound (S61unbound) restart.....
 Shutting down unbound...              done.
 Starting unbound...              done.
09:45:25 Checking status, please wait.....
09:45:27 Restoring unbound cache from '/opt/share/unbound/configs/cache.txt' (2020-05-07 09:45:21)
09:45:30 unbound OK
 
The unbound_manager default is to accept/identify DNS resolver requests from the router's dnsmasq (127.0.0.1)

To allow unbound to accept/identify direct requests from individual LAN clients use unbound_manager command:

Code:
e  = Exit Script [?]

A:Option ==> dnsmasq disable

 If you currently use or rely on dnsmasq features such as Diversion/x3mRouting etc., then re-consider.

 Do you still want to DISABLE dnsmasq?

 Reply 'y' or press [Enter]  to skip
y

To revert to using dnsmasq as the DNS resolver for LAN clients use:

Code:
A:Option ==> dnsmasq

09:45:17 Configuring dnsmasq to be the primary DNS for ALL LAN Clients.....

09:45:19 Checking 'unbound.conf' for syntax errors.....
09:45:21 Saving unbound cache to '/opt/share/unbound/configs/cache.txt'
09:45:21 Requesting unbound (S61unbound) restart.....
 Shutting down unbound...              done.
 Starting unbound...              done.
09:45:25 Checking status, please wait.....
09:45:27 Restoring unbound cache from '/opt/share/unbound/configs/cache.txt' (2020-05-07 09:45:21)
09:45:30 unbound OK
Ahh thanks, I completely forgot to disable dnsmasq after fresh setup.
 
The unbound_manager default is to accept/identify DNS resolver requests from the router's dnsmasq (127.0.0.1)

To allow unbound to accept/identify direct requests from individual LAN clients use unbound_manager command:

Code:
e  = Exit Script [?]

A:Option ==> dnsmasq disable

 If you currently use or rely on dnsmasq features such as Diversion/x3mRouting etc., then re-consider.

 Do you still want to DISABLE dnsmasq?

 Reply 'y' or press [Enter]  to skip
y

To revert to using dnsmasq as the DNS resolver for LAN clients use:

Code:
A:Option ==> dnsmasq

09:45:17 Configuring dnsmasq to be the primary DNS for ALL LAN Clients.....

09:45:19 Checking 'unbound.conf' for syntax errors.....
09:45:21 Saving unbound cache to '/opt/share/unbound/configs/cache.txt'
09:45:21 Requesting unbound (S61unbound) restart.....
 Shutting down unbound...              done.
 Starting unbound...              done.
09:45:25 Checking status, please wait.....
09:45:27 Restoring unbound cache from '/opt/share/unbound/configs/cache.txt' (2020-05-07 09:45:21)
09:45:30 unbound OK
Nice. What would be the normal or default LAN domain name? I normally have that blank
 
after disabling dnsmasq the .asusrouter.com is ending in NX.

i see in unbound.conf.localhosts file this:
Code:
# Replicate dnsmasq 'address=' and 'server='  directives

local-zone: "_dns.resolver.arpa." always_nxdomain

is it ok? somehow i was waiting here some list ips and names taken from dhcp or smthing ....
 
Last edited:

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top