TinyDNS configured for Domain.



  • I am currently trying to figure out how to get TinyDNS to point to my DC so i can add clients to my domain. I use to be able to get it pointing to the domain controler with Bind9 on a seperate box by just adding the following lines into my config file:

    dc1.ad.mydom.com. A  4.2.2.3
    _ldap._tcp.ad.mydom.com. SRV  0 0 389 dc1.ad.mydom.com.
    _kerberos._tcp.ad.mydom.com. SRV 0 0 88 dc1.ad.mydom.com.
    _ldap._tcp.dc._msdcs.ad.mydom.com. SRV 0 0 389 dc1.ad.mydom.com.
    _kerberos._tcp.dc._msdcs.ad.mydom.com. SRV 0 0 88 dc1.ad.mydom.com.
    (stolen from MSs site)

    From what I can find TinyDNS uses a different way of listing the records, I believe it should be the following:

    :\040_ldap._tcp.ad.mydom.com.:33:\000\000\000\000\001\205\004 dc1\002ad\005mydom\003com\000:86400
    :_kerberos._tcp.ad.mydom.com.:33:\000\000\000\000\000\130\004 dc1\002ad\005mydom\003com\000:86400
    :_ldap._tcp.dc._msdcs.ad.mydom.com.:33:\000\000\000\000\001\205\004 dc1\002ad\005mydom\003com\000:86400
    :_kerberos._tcp.dc._msdcs.ad.mydom.com.:33:\000\000\000\000\000\130\004 dc1\002ad\005mydom\003com\000:86400

    So my questions are:

    Am i remotely right on what I should be doing, or am I way off
    and if I am right, Where do those entries go in the config file / what config file?

    UPDATE:

    Looking into this more, I think i figured out what I need to do sort of, I am not 100% sure what they are talking about thought.

    http://www.anders.com/projects/sysadmin/djbdnsRecordBuilder/

    under "djbdns / tinydns SRV (Service Location RFC 2782) Record Builder" this heading it talks about a patch I am not sure how to apply said patch, or even if its possible to do this on PFsense.


Log in to reply