I solved my problem by:

1. adding "dns_nameservers 192.168.1.1" into file "/etc/squid/squid.conf"
2. adding "-D" flag to file /etc/init/squid.conf

script
        if [ -f /etc/default/squid ]; then
                . /etc/default/squid
        fi

        exec /usr/sbin/squid -D $SQUID_ARGS
end script

-- 
Squid does not reload when DNS settings change
https://bugs.launchpad.net/bugs/369133
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to