Re: IPCop 2 & DNS

"John Campbell" <security-zKENX0Cht/5n8C+U7lyxXlpr/1R2p/[email protected]>
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <[email protected]>
On Sat, Oct 15, 2011 at 22:22:31, Olaf Westrik wrote:

> On 2011-10-15 22:37, John Campbell wrote:
> 
> ...
> 
> > Can anyone explain why in more detail?
> 
>
http://sourceforge.net/tracker/?func=detail&aid=2806823&group_id=40604&atid=
428516
> 
Thanks, Olaf.
I looked at that, and after a brief look at the files in IPCop, I edited the
file: /etc/rc.d/rc.dnsmasq.

I changed line 14 from:
  [ "$DOMAINNAME" ] && LOCALDOMAIN="-s $DOMAINNAME --local=/$DOMAINNAME/"
To:
  [ "$DOMAINNAME" ] && LOCALDOMAIN="-s $DOMAINNAME"

And it seems to work as with v1.4.21.
DNS servers in ORANGE have an "A" record for www.mydomain.com and pc's in
GREEN now resolve that OK.
DNS server does not have an "A" record for www-test.mydomain.com, thus that
does not resolve, until I add a hostname record via IPCop Web GUI.

Is there any downside to this?
Should I be editing a different file, or is there a better way to do it?
PC's in GREEN have fixed IPs and DNS/GATEWAYS set to IPCop's GREEN IP
address. I have not tried it with PC's that use DHCP - any potential issues
there?

John
P.S. The way I work it, the DNS servers are for public IP addresses. If I
need a hostname for a private IP I add it via IPCop Web GUI.



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.