[Samba] Samba4 DNS - Adding CNAME
Mike Howard
mike at dewberryfields.co.uk
Sat May 19 03:41:16 MDT 2012
On 19/05/2012 10:34, Mike Howard wrote:
> Hi All,
>
> I'm using samba 4.0.0alpha21-GIT-UNKNOWN provisioned to use the
> internal dns server. I'm having a bit of trouble adding a CNAME entry,
> or more correctly, getting it to resolve after adding.
>
> Prior to adding the CNAME a query returns (the relevant record);
>
> Name=centos, Records=1, Children=0
> A: 192.168.1.11 (flags=f0, serial=2, ttl=900)
>
> It's more than likely me doing something wrong, I really am poking
> around in the dark a bit with samba-tool, so maybe somebody could help
> me out. I've added a CNAME entry using samba-tool as follows;
>
> samba-tool dns add 127.0.0.1 mydomain centos CNAME debian
>
> where <mydomain> is the zone, <name> is the name of a current A record
> (see above) and <debian> is the CNAME I want added.
>
> A query no returns (the relevant record);
>
Should have read "A query now returns (the relevant record);"
> Name=centos, Records=2, Children=0
> A: 192.168.1.11 (flags=f0, serial=2, ttl=900)
> CNAME: debian. (flags=f0, serial=19, ttl=900)
>
> On the face of it, to a layman like myself, the entry is added
> successfully (as per samba-tools output - Record added successfully),
> however,
> am 'nslookup' returns;
>
Should have read "an 'nslookup' returns;"
> # nslookup debian
> Server: 192.168.1.254
> Address: 192.168.1.254#53
>
> Non-authoritative answer:
> *** Can't find debian: No answer
>
> So, the question is; What am I doing wrong?
Apart from my inability to type!
Cheers,
MIke.
--
Any question is easy if you know the answer!
More information about the samba
mailing list