Hello, I'm attempting to switch from the internal DNS to Bind. This is for my Samba test environment on a VM running Samba 4.3.1 on Ubuntu server 12.04.1. Installed Samba using all the defaults. ./configure make make install Pulled up the wiki link https://wiki.samba.org/index.php/Changing_the_DNS_backend#Changing_from_Samba_Internal_DNS_to_BIND_DLZ Not sure if this is the correct start page. After the introduction I see the link "Setup Bind". I figure I need to start there? So I click the link and in the introduction I see another link for "Setup_a_basic_BIND_installation". Maybe this is where I should begin? I install BIND via. the repository. apt-get install bind9 The wiki then says "*make sure that it was compiled with the '--with-gssapi' and '--with-dlopen' options*". I check by using named -V | grep "gssapi" '--with-gssapi=/usr' Is this sufficient or do I need the absolute path to --with-gssapi=/usr/include/gssapi? named -V | grep "dlopen" Returns nothing. Can I add these options after the fact or do I need to uninstall and compile on my own before proceeding any further? Thanks. -- -James
On 30/12/15 19:48, James wrote:> Hello, > > I'm attempting to switch from the internal DNS to Bind. This is > for my Samba test environment on a VM running Samba 4.3.1 on Ubuntu > server 12.04.1. Installed Samba using all the defaults. > > ./configure > make > make install > > Pulled up the wiki link > > https://wiki.samba.org/index.php/Changing_the_DNS_backend#Changing_from_Samba_Internal_DNS_to_BIND_DLZ > > > Not sure if this is the correct start page. After the introduction I > see the link "Setup Bind". I figure I need to start there? So I click > the link and in the introduction I see another link for > "Setup_a_basic_BIND_installation". Maybe this is where I should begin? > I install BIND via. the repository. > > apt-get install bind9 > > The wiki then says "*make sure that it was compiled with the > '--with-gssapi' and '--with-dlopen' options*". I check by using > > named -V | grep "gssapi" > > '--with-gssapi=/usr' > > Is this sufficient or do I need the absolute path to > --with-gssapi=/usr/include/gssapi? > > named -V | grep "dlopen" > > Returns nothing. Can I add these options after the fact or do I need > to uninstall and compile on my own before proceeding any further? Thanks. > > > >What version of bind9 ? later versions have dlopen builtin, but I seem to remember (from when I used 12.04) having to build bind9. Could you upgrade to 14.04, this will definitely give you a working bind9 Rowland
On 12/30/2015 3:29 PM, Rowland penny wrote:> On 30/12/15 19:48, James wrote: >> Hello, >> >> I'm attempting to switch from the internal DNS to Bind. This is >> for my Samba test environment on a VM running Samba 4.3.1 on Ubuntu >> server 12.04.1. Installed Samba using all the defaults. >> >> ./configure >> make >> make install >> >> Pulled up the wiki link >> >> https://wiki.samba.org/index.php/Changing_the_DNS_backend#Changing_from_Samba_Internal_DNS_to_BIND_DLZ >> >> >> Not sure if this is the correct start page. After the introduction I >> see the link "Setup Bind". I figure I need to start there? So I click >> the link and in the introduction I see another link for >> "Setup_a_basic_BIND_installation". Maybe this is where I should >> begin? I install BIND via. the repository. >> >> apt-get install bind9 >> >> The wiki then says "*make sure that it was compiled with the >> '--with-gssapi' and '--with-dlopen' options*". I check by using >> >> named -V | grep "gssapi" >> >> '--with-gssapi=/usr' >> >> Is this sufficient or do I need the absolute path to >> --with-gssapi=/usr/include/gssapi? >> >> named -V | grep "dlopen" >> >> Returns nothing. Can I add these options after the fact or do I need >> to uninstall and compile on my own before proceeding any further? >> Thanks. >> >> >> >> > > What version of bind9 ? > later versions have dlopen builtin, but I seem to remember (from when > I used 12.04) having to build bind9. Could you upgrade to 14.04, this > will definitely give you a working bind9 > > Rowland > >It's 9.8.1. I decided to compile myself seeing as this is just a test environment. I'll make note of possibly needing a newer distro in order to avoid building in the future. Thanks. -- -James