[Samba] Problem with DNS configuration and "host" command . . .

Steve Ankeny steve_a at cinergymetro.net
Thu Nov 5 18:40:54 UTC 2015


On 11/05/2015 12:14 PM, Reindl Harald wrote:
>
>
> Am 05.11.2015 um 18:08 schrieb Steve Ankeny:
>> 'network-manager' is not installed but 'resolvconf' is --
>>
>> adam at eagle:~$ cat /etc/resolv.conf
>> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
>> resolvconf(8)
>> #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
>> nameserver 192.168.121.149
>> search smbdomain.com
>> adam at eagle:~$
>>
>> I DID NOT EDIT 'resolv.conf'
>
> but if dhcp is part of the game it is updated automatically until you 
> set peernds=no
>
> https://www.google.com/search?q=peernds
>
>
>

Ubuntu says to set a static ip in 'interfaces' (and, I thought that 
stopped DHCP)

https://help.ubuntu.com/14.04/serverguide/network-configuration.html#ip-addressing
https://help.ubuntu.com/14.04/serverguide/network-configuration.html#name-resolution

I'm not getting any errors.  I'm not sure I need to make a change?

The only instances of "peerdns" seem to be related to 'pppd' (which 
we're not using)

adam at eagle:/$ sudo grep "peerdns" -r /etc
/etc/ppp/peers/provider:usepeerdns
/etc/ppp/ip-up.d/0000usepeerdns:# this variable is only set if the 
usepeerdns pppd option is being used
/etc/ppp/ip-up.d/0dns-up:# conjunction with pppd's usepeerdns option it 
also handles dynamic dns.
/etc/ppp/ip-up.d/0dns-up:# DNS1 and DNS2 are variables exported by pppd 
when using 'usepeerdns'.
/etc/init.d/pppd-dns:[ -x /etc/ppp/ip-down.d/0000usepeerdns ] \
/etc/init.d/pppd-dns:   && exec /etc/ppp/ip-down.d/0000usepeerdns
adam at eagle:/$




More information about the samba mailing list