[PATCH] Switch to internal dns server as default for provision

Rowland Penny repenny at f2s.com
Sat Sep 8 03:36:13 MDT 2012


On 08/09/12 10:16, Rowland Penny wrote:
> On 08/09/12 01:39, Kai Blin wrote:
>> On 2012-09-07 19:50, Rowland Penny wrote:
>>
>> Hi Rowland,
>>
>>> Strange, mine works fully (on Ubuntu 12.04 server) and I seem to have
>>> got the ISC dhcp server to work with it, but time will tell.
>>> We just need Kai to make it listen on 127.0.0.1
>> I'm using the load_interface_list() call, which seems to explicitly
>> exclude the loopback interface. Maybe someone with more intricate
>> knowledge of the source4/lib/socket code could explain why loopback is
>> excluded, and how to listen on it anyway in the s4 task_server 
>> architecture.
>>
>> Cheers,
>> Kai
>>
>
> Hi Kai, thanks for your answer, so it seems that who ever wrote the 
> load_interface_list() call, forgot? about the loopback interface or as 
> the rest of the world calls it '127.0.0.1'.
>
> It just seems strange to have to use the machines ipaddress in 
> /etc/resolv.conf after years of using 127.0.0.1
>
> Rowland
>
>
Hi again, after replying to Kai's email, it got me thinking ( a 
dangerous thing ;-) ) and I added this line to smb.conf

         interfaces = 127.0.0.1 192.168.0.0/24

and the nameserver is now listening on 127.0.0.1:53 and 192.168.0.5:53

Rowland


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba-technical mailing list