actually, yes, I can. ;-)

I was reading through the dnsmasq config file and there is a setting where you can specify an 'alternate' resolv.conf file that dnsmasq will use for forwarding requests.  So I put localhost in resolv.conf, and then made a resolv.conf.external, and put the ISP DNS servers there.

thanks!


John Drescher wrote:
I am trying to backup my mobile clients that get addresses via dhcp.  I
use dnsmasq, so I thought it would be simple.  The client gets an ip
from the dnsmasq dhcp server, and a dns entry is created, but, my bacula
dir is also my dnsmasq server.  That box is connected via a firewall to
the internet, so it's resolv.conf points to the outside dns server.

So locally on my network, all clients ask dnsmasq for IP's, and my
dnsmasq server asks an outside server if necessary.

On my internal network, I can do 'nslookup vaio' and get 192.168.1.74.
When I am on my bacula/dnsmasq/webserver, nslookup vaio yields nothing,
as you would expect as 'vaio' is not in the ISP's DNS server.

How to best solve this problem, without making a new server to host
bacula?  Is there a way to tell bacula to use a specific dns server?
Then maybe I can point it to the dnsmasq ports or something to get the
correct IP address of my internal clients.  Anything else I should be
looking at?

    

I have never used dnsmasq but, can't you remove all the entries in
your /etc/resolv.conf file replace them with 127.0.0.1 and then get
dnsmasq to forward dns resuests to the servers that were in your
/etc/resolv.conf. I do this with dnrd but it does not provide dhcp.

John
  
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to