[Samba] MX record samba4

Konstantin Pobudzey 5836000 at gmail.com
Sat May 4 11:19:55 MDT 2013



1) samba-tool dns add  dcmsc.test.inc test.inc test.inc MX 'mail.test.inc 10'


2) samba-tool dns query  dcmsc.test.inc test.inc test.inc MX



3) [root at dcmsc caiman]# samba-tool dns query  dcmsc.test.inc test.inc test.inc MX
Password for [administrator at test.INC]:
  Name=, Records=1, Children=0
    MX: mail.test.inc. (5) (flags=600000f0, serial=10, ttl=0)
  Name=_msdcs, Records=0, Children=0
  Name=_sites, Records=0, Children=1
  Name=_tcp, Records=0, Children=4
  Name=_udp, Records=0, Children=2
  Name=dcmsc, Records=0, Children=0
  Name=DCSPB, Records=0, Children=0
  Name=DomainDnsZones, Records=0, Children=2
  Name=ForestDnsZones, Records=0, Children=2
  Name=mail, Records=0, Children=0
  Name=XP-77-86, Records=0, Children=0




4)#Dig from same box( From another box same result )
[root at dcmsc caiman]# dig @127.0.0.1 mx test.inc

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.6 <<>> @127.0.0.1 mx test.inc
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOTIMP, id: 62639
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;test.inc.                   IN      MX

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat May  4 21:12:29 2013
;; MSG SIZE  rcvd: 29

#From samba4 box logs 
[2013/05/04 15:46:43,  0] ../source4/dns_server/dns_query.c:103(create_response_rr)
  Got unhandled type 15 query.


Any advise ?

Thanks,
Konstantin


More information about the samba mailing list