[PATCH 0/4] dynamic DNS registration updates

David Holder david.holder at erion.co.uk
Mon Jun 2 08:09:06 GMT 2008


James,

Hi! If you need any help/info regarding IPv6 enabling the registrations 
let me know. I'd very interested in getting this to work.

Regards,
David
------------------------------------------------------------------------
Dr David Holder CEng FIET MIEEE

Erion Ltd, Oakleigh, Upper Sutherland Road, Halifax, HX3 8NT

Reception: +44 (0)1422 207000

Direct Dial: +44 (0)131 2026317

Cell: +44 (0) 7768 456831

Registered in England and Wales. Registered Number 3521142
VAT Number: GB 698 3633 78




James Peach wrote:
> Hi all,
>
> This patch series alters (hopefully for the better) the behaviour of 
> "net ads dns register".
>
> [1/4] dns: Log the DNS error on DNS update failure.
>
> Map DNS error code to messages and print an error if the update is 
> unsuccessful.
>
> [2/4] dns updates: Register name.dnsdomain instead of 
> gethostbyname(name).
>
> I expect this patch to be somewhat controversial. It's not clear to me 
> what the correct way to figure out the client's DNS domain is. On our 
> systems, the AD join sets up a realm->DNS mapping in the MIT Kerberos 
> config file. This might be different for others.
>
> [3/4] dns: Use writev(2) to send DNS requests in a single TCP segment.
>
> This should be straightforward. We just make Wireshark's life easier.
>
> [4/4] dns updates: Dynamically register a PTR record.
>
> We register a PTR record for out first IPv4 address. When DNS 
> registrations get IPv6 support we should also register an IPv6 
> address. I've taken basically the simplest approach possible to 
> registering PTR records. There's significant room for this to become 
> more sophisticated.


More information about the samba-technical mailing list