Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
SQUID append_domain
« previous
next »
Print
Pages: [
1
]
Author
Topic: SQUID append_domain (Read 1947 times)
seed
Full Member
Posts: 174
Karma: 12
SQUID append_domain
«
on:
February 08, 2021, 12:20:47 pm »
When using squid i often have the problem that I cant connect to my internal server Webinterfaces using DNS.
I configured "::1, 127.0.0.1" in Squid but squid doenst want to resolve / send the hostnames to the local unbound.
For example when i want to access "webserver" in my Network. Squid has no idea what to do. when sending the request manual to unbound the host is resolved. Once i append my local search domain (For example: testdomain.local) squid is able to connect to the server.
In the local squid configuration "append_domain" is missing. It might be helpful when squid knows the local search domain.
More about that in the squid wiki.:
http://www.squid-cache.org/Doc/config/append_domain/
Logged
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:
AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance
private user, no business use
Fright
Hero Member
Posts: 1777
Karma: 164
Re: SQUID append_domain
«
Reply #1 on:
February 08, 2021, 03:44:41 pm »
i think you can add some .conf file in /usr/local/etc/squid/pre-auth with this directive and restart squid
but the question remains why use a proxy at all to access local sites
Logged
seed
Full Member
Posts: 174
Karma: 12
Re: SQUID append_domain
«
Reply #2 on:
February 18, 2021, 12:14:56 pm »
i hope the developers will add the option "append_domain" to the webinterface. i am well aware that i can customize the template myself.
To the background: in my webbrowser I can forbid the proxy use for certain domains (e.g. for my internal domain: testdomain.local). if I want e.g. to my "webserver" then it is not made webserver.testdomain.local but remains "webserver". The proxy then receives the request to "webserver" and throws an error message because "webserver" cannot be resolved by the proxy. therefore the option "append_domain" should be added to the configuration.
Logged
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:
AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance
private user, no business use
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
SQUID append_domain