try and reslove domain via local DNS and not squid

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

try and reslove domain via local DNS and not squid

robert k Wild
hi all,

i want squid not to try and resolve our domain name ie so it resolves internally on our local DNS server and not go out squid to try and resolve

hope that makes sense

thanks,
rob

--
Regards,

Robert K Wild.

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: try and reslove domain via local DNS and not squid

Antony Stone
On Wednesday 24 June 2020 at 17:36:34, robert k Wild wrote:

> hi all,
>
> i want squid not to try and resolve our domain name ie so it resolves
> internally on our local DNS server and not go out squid to try and resolve

What is in /etc/resolv.conf on your squid server?

Antony.

--
Never write it in Perl if you can do it in Awk.
Never do it in Awk if sed can handle it.
Never use sed when tr can do the job.
Never invoke tr when cat is sufficient.
Avoid using cat whenever possible.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: try and reslove domain via local DNS and not squid

robert k Wild
hahahahaha, simples

i havnt added my internal dns to it, i just have it as 8.8.8.8

On Wed, 24 Jun 2020 at 16:42, Antony Stone <[hidden email]> wrote:
On Wednesday 24 June 2020 at 17:36:34, robert k Wild wrote:

> hi all,
>
> i want squid not to try and resolve our domain name ie so it resolves
> internally on our local DNS server and not go out squid to try and resolve

What is in /etc/resolv.conf on your squid server?

Antony.

--
Never write it in Perl if you can do it in Awk.
Never do it in Awk if sed can handle it.
Never use sed when tr can do the job.
Never invoke tr when cat is sufficient.
Avoid using cat whenever possible.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users


--
Regards,

Robert K Wild.

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users