Re: squid and dns lookups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2006-07-29 at 15:47 +0930, Tim wrote:
> On Fri, 2006-07-28 at 15:32 -0500, Gregory P. Ennis wrote:
> 
> > We have one of our PC's set up as an internal (local network) web
> > server.  The PC is listed in each of the other linux machines /etc/hosts
> > file with a local network ip address.  When squid is turned off it is
> > easy for the network PC's to access the internal web pages by putting in
> > the name of the server in the address bar.  When squid is turned on each
> > user gets the message that it can not be found.  
> > 
> > Since the machine functioning as the apache server is inside the local
> > network it is not listed in the dns servers.  When squid is function the
> > query fails.  Is there a way to put an entry in the squid.conf file so
> > that named queries can point back to the local network even though a dns
> > record does not exist?
> 
> Alternate approach:  Install a local DNS server, populate it with local
> machine entries, use it for local and internet name resolution.
> 
> I first did this because of the same problem you mention.  I haven't
> looked back, it provided other benefits as well.  Even on a network with
> just a few PCs, messing around with hosts files can be a pain.  But
> having a proper DNS server means you can avoid that, and have local mail
> running properly (a hosts file cannot provide MX records, for instance).
> 
> -- 

Tim,

I have had some difficulty with sendmail in the past but brackedet ip
addresses instead of computer names solved dns problems related to
sendmail.  I have not been able to find this kind of capability with
squid.  

I have been looking for a reason to study and set up a DNS server.
Looks like I have a good reason now.  Great Suggestion!!!!

Thanks,

Greg

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux