forward for another domain? #82

Closed
opened 2026-04-12 04:36:02 +08:00 by bcookatpcsd · 2 comments
bcookatpcsd commented 2026-04-12 04:36:02 +08:00 (Migrated from github.com)

168.192.in-addr.arpa. or another local domain..

also Alpine linux.. no systemctl

I put it in runitd and seems to be fine..

looks good

[server]
	bind_addr = "0.0.0.0:53"
	api_port  = 5380
	api_bind_addr = "0.0.0.0"

[upstream]
	mode = "forward"
	address = ["100.90.1.63:5361"]
	# address = ["127.0.0.1:5361", "100.90.1.63:5361"]
	# address = "127.0.0.1"
	# port = 5361

[blocking]
	enabled = true
	refresh_hours = 24
	lists = ["https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/hosts/native.apple.txt", "https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/hosts/pro.txt"]
Image
168.192.in-addr.arpa. or another local domain.. also Alpine linux.. no systemctl I put it in runitd and seems to be fine.. looks good ``` [server] bind_addr = "0.0.0.0:53" api_port = 5380 api_bind_addr = "0.0.0.0" [upstream] mode = "forward" address = ["100.90.1.63:5361"] # address = ["127.0.0.1:5361", "100.90.1.63:5361"] # address = "127.0.0.1" # port = 5361 [blocking] enabled = true refresh_hours = 24 lists = ["https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/hosts/native.apple.txt", "https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/hosts/pro.txt"] ``` <img width="922" height="937" alt="Image" src="https://github.com/user-attachments/assets/918dc33a-8128-40dc-a253-7594dc27b062" />
bcookatpcsd commented 2026-04-12 09:43:05 +08:00 (Migrated from github.com)

numa.toml

8< -- snip -- >8


[forwarding]
	suffix = [ "188.168.192.in-addr.arpa", "88.168.192.in-addr.arpa", "188.onsite", "onsite"]
	upstram = "192.168.88.1:53"

no?

./numa --version
numa 0.12.0

# drill -Q -x 192.168.188.153 @192.168.88.1
omarchy-445.188.onsite.

# drill -Q -x 192.168.188.153 @192.168.88.252
(nothing)

(logs)

2026-04-12_01:39:41.58566 [2026-04-12T01:39:41.585Z INFO  numa::ctx] 192.168.88.252:40731 | PTR 153.188.168.192.in-addr.arpa | LOCAL | NXDOMAIN | 0ms

(thank you in advance)

numa.toml 8< -- snip -- >8 ``` [forwarding] suffix = [ "188.168.192.in-addr.arpa", "88.168.192.in-addr.arpa", "188.onsite", "onsite"] upstram = "192.168.88.1:53" ``` no? ./numa --version numa 0.12.0 ``` # drill -Q -x 192.168.188.153 @192.168.88.1 omarchy-445.188.onsite. # drill -Q -x 192.168.188.153 @192.168.88.252 (nothing) ``` (logs) ``` 2026-04-12_01:39:41.58566 [2026-04-12T01:39:41.585Z INFO numa::ctx] 192.168.88.252:40731 | PTR 153.188.168.192.in-addr.arpa | LOCAL | NXDOMAIN | 0ms ``` (thank you in advance)
razvandimescu commented 2026-04-12 11:08:56 +08:00 (Migrated from github.com)

@bcookatpcsd thanks for testing further however the code has not been released yet, we should have a version for tomorrow, i've used your suggestion of using an array of suffixes for an upstream

@bcookatpcsd thanks for testing further however the code has not been released yet, we should have a version for tomorrow, i've used your suggestion of using an array of suffixes for an upstream
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/numa#82