[Samba] resolve errors with Samba 4 dns [RESOLVED]

Gary Dale garydale at torfree.net
Tue Jun 30 02:34:32 MDT 2015


On 29/06/15 03:00 PM, mourik jan heupink wrote:
> and 'host google.com 8.8.8.8' also gives the expected output?
>
> Like this:
>
>> root at pf:~# host google.com 8.8.8.8
>> Using domain server:
>> Name: 8.8.8.8
>> Address: 8.8.8.8#53
>> Aliases:
>>
>> google.com has address 74.125.136.100
>> google.com has address 74.125.136.113
>> google.com has address 74.125.136.101
>> google.com has address 74.125.136.138
>> google.com has address 74.125.136.102
>> google.com has address 74.125.136.139
>> google.com has IPv6 address 2a00:1450:4013:c01::71
>> google.com mail is handled by 50 alt4.aspmx.l.google.com.
>> google.com mail is handled by 10 aspmx.l.google.com.
>> google.com mail is handled by 30 alt2.aspmx.l.google.com.
>> google.com mail is handled by 20 alt1.aspmx.l.google.com.
>> google.com mail is handled by 40 alt3.aspmx.l.google.com.
>> root at pf:~#
>
> How many dns servers are there in your /etc/resolv.conf? If the google 
> one works (like above) then I'd try with only dns server: the google dns.
Actually, my current setup, which seems to be working, has my AD DC as 
the primary and Google second. I've also set my router to use OpenDNS. 
If someone comes with a new device, it gets its settings from the 
router's DHCP service. Conversely, I've set all the workstations with 
static IP addresses using the AD DC and Google.


More information about the samba mailing list