Hi.
I tried to follow instruction's in https://forum.proxmox.com/threads/uribl_blocked-however-uribl-com-shows-its-not.76825/#post-478336, but I'm not able to make it work.
What I need is to make unbound work in my PMG, so I don't over use URLBL and get BLOCKED.
I received a sufggestion to:
sounds odd - things I'd look into:
* do you have some iptables/nftable rules preventing communication on 127.0.0.1? - I'd suggest to let traffic on `lo` simply pass
** systemd-resolved might cause some issues with that setup - (despite it shouldn't since it's listening to 127.0.0.53..., but who knows)
*** unless you need it and know you need it - I'd suggest trying to remove it
**** also make sure that your /etc/resolv.conf is correct (should not matter for the test with `dig` though)
* : I tried to add this to nft, but I'm not sure it was the right synthax:
** : I tried to systemctl stop systemd-resolved, but no chance
*** : Sure, as soon has it work, I'll STOP and DISABLE systemd-resolverd
**** : Also will configure this file when it work
Thank you for your help.
I tried to follow instruction's in https://forum.proxmox.com/threads/uribl_blocked-however-uribl-com-shows-its-not.76825/#post-478336, but I'm not able to make it work.
What I need is to make unbound work in my PMG, so I don't over use URLBL and get BLOCKED.
Code:
root@pmg14:~# dig a proxmox.com @127.0.0.1 +short
; <<>> DiG 9.16.27-Debian <<>> a proxmox.com @127.0.0.1 +short
;; global options: +cmd
;; connection timed out; no servers could be reached
Code:
root@pmg14:~# ss -tulnp | grep ":53.*unbound"
udp UNCONN 0 0 127.0.0.1:53 0.0.0.0:* users:(("unbound",pid=41443,fd=5))
udp UNCONN 0 0 [::1]:53 [::]:* users:(("unbound",pid=41443,fd=3))
tcp LISTEN 0 256 127.0.0.1:53 0.0.0.0:* users:(("unbound",pid=41443,fd=6))
tcp LISTEN 0 256 [::1]:53 [::]:* users:(("unbound",pid=41443,fd=4))
or the long version with systemd still running until I resolve the dig :
root@pmg14:~# ss -tulnp | grep ":53"
udp UNCONN 0 0 127.0.0.1:53 0.0.0.0:* users:(("unbound",pid=41443,fd=5))
udp UNCONN 0 0 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=76,fd=16))
udp UNCONN 0 0 0.0.0.0:5355 0.0.0.0:* users:(("systemd-resolve",pid=76,fd=11))
udp UNCONN 0 0 [::1]:53 [::]:* users:(("unbound",pid=41443,fd=3))
udp UNCONN 0 0 [::]:5355 [::]:* users:(("systemd-resolve",pid=76,fd=13))
tcp LISTEN 0 256 127.0.0.1:53 0.0.0.0:* users:(("unbound",pid=41443,fd=6))
tcp LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=76,fd=17))
tcp LISTEN 0 4096 0.0.0.0:5355 0.0.0.0:* users:(("systemd-resolve",pid=76,fd=12))
tcp LISTEN 0 256 [::1]:53 [::]:* users:(("unbound",pid=41443,fd=4))
tcp LISTEN 0 4096 [::]:5355 [::]:* users:(("systemd-resolve",pid=76,fd=14))
I received a sufggestion to:
sounds odd - things I'd look into:
* do you have some iptables/nftable rules preventing communication on 127.0.0.1? - I'd suggest to let traffic on `lo` simply pass
** systemd-resolved might cause some issues with that setup - (despite it shouldn't since it's listening to 127.0.0.53..., but who knows)
*** unless you need it and know you need it - I'd suggest trying to remove it
**** also make sure that your /etc/resolv.conf is correct (should not matter for the test with `dig` though)
* : I tried to add this to nft, but I'm not sure it was the right synthax:
Code:
nft insert rule inet filter input tcp dport 53 counter accept
nft insert rule inet filter input udp dport 53 counter accept
** : I tried to systemctl stop systemd-resolved, but no chance
*** : Sure, as soon has it work, I'll STOP and DISABLE systemd-resolverd
**** : Also will configure this file when it work
Thank you for your help.