Remetente de DNS Intenal Samba PDC

0

Eu configurei um PDC do Samba usando o seguinte guia: link

Optei por usar o servidor DNS Samba interno e especifiquei um encaminhador DNS de 8.8.8.8

Quando eu testo a funcionalidade do DNS de acordo com o guia, tudo parece bem:

user@myhost:~$ host -t SRV _ldap._tcp.ad.mydomain.com.au.
_ldap._tcp.ad.mydomain.com.au has SRV record 0 100 389 myhost.ad.mydomain.com.au.
user@myhost:~$ host -t SRV _kerberos._udp.ad.mydomain.com.au.
_kerberos._udp.ad.mydomain.com.au has SRV record 0 100 88 myhost.ad.mydomain.com.au.
user@myhost:~$ host -t A myhost.ad.mydomain.com.au.
myhost.ad.mydomain.com.au has address 192.168.1.13

Quando eu verifico um host externo, o DNS parece falhar:

user@myhost:~$ dig www.google.com

; <<>> DiG 9.9.5-3ubuntu0.5-Ubuntu <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 31751
;; flags: qr rd ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.google.com.            IN  A

;; Query time: 0 msec
;; SERVER: 192.168.1.13#53(192.168.1.13)
;; WHEN: Tue Nov 10 06:12:48 AEDT 2015
;; MSG SIZE  rcvd: 43

Como posso verificar se o encaminhador de DNS do samba está funcionando corretamente?

arquivo smb.conf:

# Global parameters
[global]
        workgroup = MYDOMAIN
        realm = AD.MYDOMAIN.COM.AU
        netbios name = MYHOST
        server role = active directory domain controller
        dns forwarder = 8.8.8.8,
        server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate, dns, smb
        dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey, dnsserver, winreg, srvsvc
        idmap_ldb:use rfc2307 = yes

[netlogon]
        path = /var/lib/samba/sysvol/ad.mydomain.com.au/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No
    
por Dercni 09.11.2015 / 20:15

1 resposta

0

A vírgula final após o endereço do encaminhador de DNS foi o problema.

    
por Dercni 11.11.2015 / 10:42