Re: BIND 9.16.13 and Mac OS X 10.13.6 - problems with ./configure

2021-03-25 Thread Paul Cizmas
I tried now using libuv 1.35 and it failed again during make at

  CC   src/unix/libuv_la-darwin-proctitle.lo
In file included from 
/System/Library/Frameworks/Security.framework/Headers/AuthSession.h:32:0,
 from 
/System/Library/Frameworks/Security.framework/Headers/Security.h:43,
 from 
/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43,
 from 
/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27,
 from 
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23,
 from 
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22,
 from 
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39,
 from 
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23,
 from src/unix/darwin-proctitle.c:34:
/System/Library/Frameworks/Security.framework/Headers/Authorization.h:193:7: 
error: variably modified ‘bytes’ at file scope
  char bytes[kAuthorizationExternalFormLength];
   ^
In file included from 
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:18:0,
 from 
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
 from 
/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
 from 
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35,
 from src/unix/darwin-proctitle.c:34:
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h:53:40: 
error: initializer element is not constant
 static const CGFontIndex kCGGlyphMax = kCGFontIndexMax;
^~~
In file included from 
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:21:0,
 from 
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
 from 
/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
 from 
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35,
 from src/unix/darwin-proctitle.c:34:
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:391:15: 
error: expected identifier or ‘(’ before ‘^’ token
 typedef void (^CGPathApplyBlock)(const CGPathElement * element);
   ^
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:393:53: 
error: unknown type name ‘CGPathApplyBlock’
 CG_EXTERN void CGPathApplyWithBlock(CGPathRef path, CGPathApplyBlock 
CF_NOESCAPE block)
 ^~~~
make: *** [Makefile:2610: src/unix/libuv_la-darwin-proctitle.lo] Error 1


> On Mar 25, 2021, at 10:58 PM, Larry Stone  wrote:
> 
> I’ve been building BIND on MacOS for years (currently on Catalina but has 
> worked on almost the entire Mac OS X series.
> 
>> 
>> On Mar 25, 2021, at 7:50 PM, Paul Cizmas  wrote:
>> 
>> I am new to BIND and I am trying to install version 9.16.13 on a Mac OS X 
>> 10.13.6.
>> 
>> I downloaded version 9.16.13 and, following the suggestions from 
>> https://urldefense.com/v3/__https://krypted.com/mac-os-x/dns-install-bind-macos/__;!!KwNVnqRv!SgN3gnzEKHjO4-cmHIFW1vcyx5KWnm1ii44xUN8Cv7V0BQRszE6xAdIje1bTo8s$
>>  , I am trying to configure using
>> 
>> ./configure --enable-symtable=none --infodir="/usr/share/info" 
>> --sysconfdir="/etc" --localstatedir="/var" --enable-atomic="no" 
>> --with-gssapi=yes --with-libxml2=no
>> 
> 
> I don’t know that site and I don’t know what most of the those options do. A 
> simple ./configure has almost always worked for me.
> 
>> This fails because of libuv
>> 
>> checking for pthread_set_name_np... no
>> checking for pthread_np.h... no
>> checking for libuv... checking for libuv >= 1.0.0... no
>> configure: error: libuv not found
>> 
>> I have libuv installed, however.  It is version 1.41.0.
>> 
> 
> Is libuv where the BIND configure is looking for it? My libuv files are in 
> /usr/local/lib. I have libuv 1.35 (doubt the version is making a difference) 
> and it looks like I installed it a year ago.
> 
> Are you using something like homebrew or macports? I don’t as I was already 
> too established doing everything from scratch when I learned about them. But 
> I believe at least one of them if not both use their own set of directories 
> so something built with one of them will not be found by something coming 
> from the other or done from scratch. Those instructions from krypted.com 
> appear to be doing a “from scratch” version so if you installed libuv with 
> homebrew or macports, I doubt the krypted.com instructions will find it.
> 
> 
> -- 
> Larry 

Re: BIND 9.16.13 and Mac OS X 10.13.6 - problems with ./configure

2021-03-25 Thread Paul Cizmas
Eddy, I fully agree with you. I wish I could do it.  Unfortunately I failed to 
install libuv from scratch and I took a shortcut by using homebrew (and now I 
am paying for it, as I should).

Paul

> On Mar 25, 2021, at 11:05 PM, Eddy Hahn  wrote:
> 
> I do not use either of them because I cannot trust them. I build all 
> dependencies from scratch so I do not have to depend on others- breaking 
> things from one version to the next.
> Also I do not like to use the old libs shipped with the OS or install 3rd 
> party into the OS directories. 
> 
> Cheers, 
> 
> Eddy
> 
>> On Mar 25, 2021, at 8:59 PM, Larry Stone  wrote:
>> 
>> I’ve been building BIND on MacOS for years (currently on Catalina but has 
>> worked on almost the entire Mac OS X series.
>> 
>>> 
>>> On Mar 25, 2021, at 7:50 PM, Paul Cizmas  wrote:
>>> 
>>> I am new to BIND and I am trying to install version 9.16.13 on a Mac OS X 
>>> 10.13.6.
>>> 
>>> I downloaded version 9.16.13 and, following the suggestions from 
>>> https://urldefense.com/v3/__https://na01.safelinks.protection.outlook.com/?url=https*3A*2F*2Fkrypted.com*2Fmac-os-x*2Fdns-install-bind-macos*2Fdata=04*7C01*7C*7C531de9ed26704038675308d8f00b8f48*7C84df9e7fe9f640afb435*7C1*7C0*7C637523279725421196*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C1000sdata=wN7nldydRlRxmZrp8rWOtLQQN21cSXnc5x5Ym6oZ5Hs*3Dreserved=0__;JSUlJSUlJSUlJSUlJSUlJSUl!!KwNVnqRv!SeCbRCtQQ1-pyWorY4eIWCDOgRROjaa-_OzHQBubG79Rq8hsFwKYhcS04iT0kFM$
>>>  , I am trying to configure using
>>> 
>>> ./configure --enable-symtable=none --infodir="/usr/share/info" 
>>> --sysconfdir="/etc" --localstatedir="/var" --enable-atomic="no" 
>>> --with-gssapi=yes --with-libxml2=no
>>> 
>> 
>> I don’t know that site and I don’t know what most of the those options do. A 
>> simple ./configure has almost always worked for me.
>> 
>>> This fails because of libuv
>>> 
>>> checking for pthread_set_name_np... no
>>> checking for pthread_np.h... no
>>> checking for libuv... checking for libuv >= 1.0.0... no
>>> configure: error: libuv not found
>>> 
>>> I have libuv installed, however.  It is version 1.41.0.
>>> 
>> 
>> Is libuv where the BIND configure is looking for it? My libuv files are in 
>> /usr/local/lib. I have libuv 1.35 (doubt the version is making a difference) 
>> and it looks like I installed it a year ago.
>> 
>> Are you using something like homebrew or macports? I don’t as I was already 
>> too established doing everything from scratch when I learned about them. But 
>> I believe at least one of them if not both use their own set of directories 
>> so something built with one of them will not be found by something coming 
>> from the other or done from scratch. Those instructions from krypted.com 
>> appear to be doing a “from scratch” version so if you installed libuv with 
>> homebrew or macports, I doubt the krypted.com instructions will find it.
>> 
>> 
>> -- 
>> Larry Stone
>> lston...@stonejongleux.com
>> ___
>> Please visit 
>> https://urldefense.com/v3/__https://na01.safelinks.protection.outlook.com/?url=https*3A*2F*2Flists.isc.org*2Fmailman*2Flistinfo*2Fbind-usersdata=04*7C01*7C*7C531de9ed26704038675308d8f00b8f48*7C84df9e7fe9f640afb435*7C1*7C0*7C637523279725421196*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C1000sdata=PGVNS*2BEb*2B7YohVLKtzRz30*2F6ls1kvh8ilPQ3Cv57k9Q*3Dreserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUl!!KwNVnqRv!SeCbRCtQQ1-pyWorY4eIWCDOgRROjaa-_OzHQBubG79Rq8hsFwKYhcS0u5MpoDY$
>>   to unsubscribe from this list
>> 
>> ISC funds the development of this software with paid support subscriptions. 
>> Contact us at 
>> https://urldefense.com/v3/__https://na01.safelinks.protection.outlook.com/?url=https*3A*2F*2Fwww.isc.org*2Fcontact*2Fdata=04*7C01*7C*7C531de9ed26704038675308d8f00b8f48*7C84df9e7fe9f640afb435*7C1*7C0*7C637523279725421196*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C1000sdata=jv*2FCZcukHxDGGXORN3OYGMYp6Utpk*2F*2BYK4ka0sTuHqI*3Dreserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSU!!KwNVnqRv!SeCbRCtQQ1-pyWorY4eIWCDOgRROjaa-_OzHQBubG79Rq8hsFwKYhcS08K2yo00$
>>   for more information.
>> 
>> 
>> bind-users mailing list
>> bind-users@lists.isc.org
>> https://urldefense.com/v3/__https://na01.safelinks.protection.outlook.com/?url=https*3A*2F*2Flists.isc.org*2Fmailman*2Flistinfo*2Fbind-usersdata=04*7C01*7C*7C531de9ed26704038675308d8f00b8f48*7C84df9e7fe9f640afb435*7C1*7C0*7C637523279725421196*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C1000sdata=PGVNS*2BEb*2B7YohVLKtzRz30*2F6ls1kvh8ilPQ3Cv57k9Q*3Dreserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUl!!KwNVnqRv!SeCbRCtQQ1-pyWorY4eIWCDOgRROjaa-_OzHQBubG79Rq8hsFwKYhcS0u5MpoDY$
>>  
> ___
> Please visit 
> 

Re: BIND 9.16.13 and Mac OS X 10.13.6 - problems with ./configure

2021-03-25 Thread Paul Cizmas
I did use homebrew.  It installed libuv 1.41.0 without any complaints.  Is 
there something I could do to manually point BIND to libuv?

Thank you,
Paul


> On Mar 25, 2021, at 10:12 PM, Mark Andrews  wrote:
> 
> libuv discovery requires pkg-config to be found.  macports/homebrew installs 
> of libuv should register libuv correctly.
> 
> 
>> On 26 Mar 2021, at 11:50, Paul Cizmas  wrote:
>> 
>> Hello:
>> 
>> I am new to BIND and I am trying to install version 9.16.13 on a Mac OS X 
>> 10.13.6.
>> 
>> I downloaded version 9.16.13 and, following the suggestions from 
>> https://urldefense.com/v3/__https://krypted.com/mac-os-x/dns-install-bind-macos/__;!!KwNVnqRv!T2YrsudDg_5xUn4JVLDSFDP1B5SWepbwzT9ay0JLZrWIwZ5iSfh2BCY7WA-Zw5Q$
>>  , I am trying to configure using
>> 
>> ./configure --enable-symtable=none --infodir="/usr/share/info" 
>> --sysconfdir="/etc" --localstatedir="/var" --enable-atomic="no" 
>> --with-gssapi=yes --with-libxml2=no
>> 
>> This fails because of libuv
>> 
>> checking for pthread_set_name_np... no
>> checking for pthread_np.h... no
>> checking for libuv... checking for libuv >= 1.0.0... no
>> configure: error: libuv not found
>> 
>> I have libuv installed, however.  It is version 1.41.0.
>> 
>> I would appreciate any suggestions on how to fix this.
>> 
>> Thank you,
>> Paul
>> 
>> 
>> ___
>> Please visit 
>> https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/bind-users__;!!KwNVnqRv!T2YrsudDg_5xUn4JVLDSFDP1B5SWepbwzT9ay0JLZrWIwZ5iSfh2BCY7SJu0lnU$
>>   to unsubscribe from this list
>> 
>> ISC funds the development of this software with paid support subscriptions. 
>> Contact us at 
>> https://urldefense.com/v3/__https://www.isc.org/contact/__;!!KwNVnqRv!T2YrsudDg_5xUn4JVLDSFDP1B5SWepbwzT9ay0JLZrWIwZ5iSfh2BCY7yy0Nyq0$
>>   for more information.
>> 
>> 
>> bind-users mailing list
>> bind-users@lists.isc.org
>> https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/bind-users__;!!KwNVnqRv!T2YrsudDg_5xUn4JVLDSFDP1B5SWepbwzT9ay0JLZrWIwZ5iSfh2BCY7SJu0lnU$
>>  
> 
> -- 
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742  INTERNET: ma...@isc.org
> 

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: BIND 9.16.13 and Mac OS X 10.13.6 - problems with ./configure

2021-03-25 Thread Eddy Hahn
I do not use either of them because I cannot trust them. I build all 
dependencies from scratch so I do not have to depend on others- breaking things 
from one version to the next.
Also I do not like to use the old libs shipped with the OS or install 3rd party 
into the OS directories. 

Cheers, 

Eddy

> On Mar 25, 2021, at 8:59 PM, Larry Stone  wrote:
> 
> I’ve been building BIND on MacOS for years (currently on Catalina but has 
> worked on almost the entire Mac OS X series.
> 
>> 
>> On Mar 25, 2021, at 7:50 PM, Paul Cizmas  wrote:
>> 
>> I am new to BIND and I am trying to install version 9.16.13 on a Mac OS X 
>> 10.13.6.
>> 
>> I downloaded version 9.16.13 and, following the suggestions from 
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkrypted.com%2Fmac-os-x%2Fdns-install-bind-macos%2Fdata=04%7C01%7C%7C531de9ed26704038675308d8f00b8f48%7C84df9e7fe9f640afb435%7C1%7C0%7C637523279725421196%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=wN7nldydRlRxmZrp8rWOtLQQN21cSXnc5x5Ym6oZ5Hs%3Dreserved=0,
>>  I am trying to configure using
>> 
>> ./configure --enable-symtable=none --infodir="/usr/share/info" 
>> --sysconfdir="/etc" --localstatedir="/var" --enable-atomic="no" 
>> --with-gssapi=yes --with-libxml2=no
>> 
> 
> I don’t know that site and I don’t know what most of the those options do. A 
> simple ./configure has almost always worked for me.
> 
>> This fails because of libuv
>> 
>> checking for pthread_set_name_np... no
>> checking for pthread_np.h... no
>> checking for libuv... checking for libuv >= 1.0.0... no
>> configure: error: libuv not found
>> 
>> I have libuv installed, however.  It is version 1.41.0.
>> 
> 
> Is libuv where the BIND configure is looking for it? My libuv files are in 
> /usr/local/lib. I have libuv 1.35 (doubt the version is making a difference) 
> and it looks like I installed it a year ago.
> 
> Are you using something like homebrew or macports? I don’t as I was already 
> too established doing everything from scratch when I learned about them. But 
> I believe at least one of them if not both use their own set of directories 
> so something built with one of them will not be found by something coming 
> from the other or done from scratch. Those instructions from krypted.com 
> appear to be doing a “from scratch” version so if you installed libuv with 
> homebrew or macports, I doubt the krypted.com instructions will find it.
> 
> 
> -- 
> Larry Stone
> lston...@stonejongleux.com
> ___
> Please visit 
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fbind-usersdata=04%7C01%7C%7C531de9ed26704038675308d8f00b8f48%7C84df9e7fe9f640afb435%7C1%7C0%7C637523279725421196%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=PGVNS%2BEb%2B7YohVLKtzRz30%2F6ls1kvh8ilPQ3Cv57k9Q%3Dreserved=0
>  to unsubscribe from this list
> 
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at 
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2Fdata=04%7C01%7C%7C531de9ed26704038675308d8f00b8f48%7C84df9e7fe9f640afb435%7C1%7C0%7C637523279725421196%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=jv%2FCZcukHxDGGXORN3OYGMYp6Utpk%2F%2BYK4ka0sTuHqI%3Dreserved=0
>  for more information.
> 
> 
> bind-users mailing list
> bind-users@lists.isc.org
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fbind-usersdata=04%7C01%7C%7C531de9ed26704038675308d8f00b8f48%7C84df9e7fe9f640afb435%7C1%7C0%7C637523279725421196%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=PGVNS%2BEb%2B7YohVLKtzRz30%2F6ls1kvh8ilPQ3Cv57k9Q%3Dreserved=0
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: BIND 9.16.13 and Mac OS X 10.13.6 - problems with ./configure

2021-03-25 Thread Larry Stone
I’ve been building BIND on MacOS for years (currently on Catalina but has 
worked on almost the entire Mac OS X series.

> 
> On Mar 25, 2021, at 7:50 PM, Paul Cizmas  wrote:
> 
> I am new to BIND and I am trying to install version 9.16.13 on a Mac OS X 
> 10.13.6.
> 
> I downloaded version 9.16.13 and, following the suggestions from 
> https://krypted.com/mac-os-x/dns-install-bind-macos/, I am trying to 
> configure using
> 
> ./configure --enable-symtable=none --infodir="/usr/share/info" 
> --sysconfdir="/etc" --localstatedir="/var" --enable-atomic="no" 
> --with-gssapi=yes --with-libxml2=no
> 

I don’t know that site and I don’t know what most of the those options do. A 
simple ./configure has almost always worked for me.

> This fails because of libuv
> 
> checking for pthread_set_name_np... no
> checking for pthread_np.h... no
> checking for libuv... checking for libuv >= 1.0.0... no
> configure: error: libuv not found
> 
> I have libuv installed, however.  It is version 1.41.0.
> 

Is libuv where the BIND configure is looking for it? My libuv files are in 
/usr/local/lib. I have libuv 1.35 (doubt the version is making a difference) 
and it looks like I installed it a year ago.

Are you using something like homebrew or macports? I don’t as I was already too 
established doing everything from scratch when I learned about them. But I 
believe at least one of them if not both use their own set of directories so 
something built with one of them will not be found by something coming from the 
other or done from scratch. Those instructions from krypted.com appear to be 
doing a “from scratch” version so if you installed libuv with homebrew or 
macports, I doubt the krypted.com instructions will find it.


-- 
Larry Stone
lston...@stonejongleux.com
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: BIND 9.16.13 and Mac OS X 10.13.6 - problems with ./configure

2021-03-25 Thread Mark Andrews
libuv discovery requires pkg-config to be found.  macports/homebrew installs of 
libuv should register libuv correctly.


> On 26 Mar 2021, at 11:50, Paul Cizmas  wrote:
> 
> Hello:
> 
> I am new to BIND and I am trying to install version 9.16.13 on a Mac OS X 
> 10.13.6.
> 
> I downloaded version 9.16.13 and, following the suggestions from 
> https://krypted.com/mac-os-x/dns-install-bind-macos/, I am trying to 
> configure using
> 
> ./configure --enable-symtable=none --infodir="/usr/share/info" 
> --sysconfdir="/etc" --localstatedir="/var" --enable-atomic="no" 
> --with-gssapi=yes --with-libxml2=no
> 
> This fails because of libuv
> 
> checking for pthread_set_name_np... no
> checking for pthread_np.h... no
> checking for libuv... checking for libuv >= 1.0.0... no
> configure: error: libuv not found
> 
> I have libuv installed, however.  It is version 1.41.0.
> 
> I would appreciate any suggestions on how to fix this.
> 
> Thank you,
> Paul
> 
> 
> ___
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
> from this list
> 
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
> 
> 
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742  INTERNET: ma...@isc.org

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


BIND 9.16.13 and Mac OS X 10.13.6 - problems with ./configure

2021-03-25 Thread Paul Cizmas
Hello:

I am new to BIND and I am trying to install version 9.16.13 on a Mac OS X 
10.13.6.

I downloaded version 9.16.13 and, following the suggestions from 
https://krypted.com/mac-os-x/dns-install-bind-macos/ 
, I am trying to 
configure using

./configure --enable-symtable=none --infodir="/usr/share/info" 
--sysconfdir="/etc" --localstatedir="/var" --enable-atomic="no" 
--with-gssapi=yes --with-libxml2=no

This fails because of libuv

checking for pthread_set_name_np... no
checking for pthread_np.h... no
checking for libuv... checking for libuv >= 1.0.0... no
configure: error: libuv not found

I have libuv installed, however.  It is version 1.41.0.

I would appreciate any suggestions on how to fix this.

Thank you,
Paul


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Timeout setting

2021-03-25 Thread Mark Andrews
This is a bug in postfix. Temporary failures in the DNS are not supposed to 
result in permanent failure at the SMTP level.  SERVFAIL  is not NXDOMAIN.

-- 
Mark Andrews

> On 26 Mar 2021, at 04:12, Julien Salort  wrote:
> 
> Hello,
> 
> 
> I have a VPS running postfix and bind9. Bind is used as a recursive resolver, 
> in particular to be able to query anti-spam database.
> 
> Postfix is also configured to reject incoming connections from servers with 
> no reverse dns.
> 
> It works great overall, but sometimes legitimate messages get rejected 
> because the reverse dns query fails.
> 
> Here is an example (anonymized email and host address):
> 
> In mail.log:
> 
> 450 4.7.1 Client host rejected: cannot find your reverse hostname, 
> [17.179.250.111]; from= 
> to= proto=ESMTP helo= (total: 
> 1)
> 
> In named journal:
> 
> mars 02 01:14:20 example.com named[2756114]: client @0x7f3a0808c750 
> 127.0.0.1#43646 (111.250.179.17.in-addr.arpa): query: 
> 111.250.179.17.in-addr.arpa IN PTR +E(0) (127.0.0.1)
> 
> mars 02 01:14:25 example.com named[2756114]: client @0x7f3a08079d00 
> 127.0.0.1#43646 (111.250.179.17.in-addr.arpa): query: 
> 111.250.179.17.in-addr.arpa IN PTR +E(0) (127.0.0.1)
> 
> mars 02 01:14:32 example.com named[2756114]: client @0x7f3a0808c750 
> 127.0.0.1#43646 (111.250.179.17.in-addr.arpa): query failed (timed out) for 
> 111.250.179.17.in-addr.arpa/IN/PTR at query.c:6883
> 
> mars 02 01:14:32 example.com named[2756114]: client @0x7f3a000d5110 
> 127.0.0.1#49520 (insideapple.apple.com): query: insideapple.apple.com IN MX + 
> (127.0.0.1)
> 
> 
> So there is a timeout.
> 
> Now if I try again:
> 
> $ dig -x 17.179.250.111 @localhost +short
> rn2-msbadger07105.apple.com.
> 
> 
> So it seems that it is just that sometimes the query takes a bit longer...
> 
> 
> Is there a general advice regarding timeout for bind?
> 
> Should I just choose a longer timeout? Or is there a reason for the default 
> value?
> 
> 
> I did not have such problems when I was using the ISP dns server instead of a 
> local recursive resolver. So I was wondering if the configuration is 
> sub-optimal somehow...
> 
> 
> Thank you,
> 
> 
> Cheers,
> 
> 
> Julien
> 
> 
> ___
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
> from this list
> 
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
> 
> 
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Timeout setting

2021-03-25 Thread Julien Salort

Le 25/03/2021 à 18:21, John W. Blue via bind-users a écrit :


When I queried the authoritative server directly it worked:

;; QUESTION SECTION:
;111.250.179.17.in-addr.arpa.   IN  PTR

;; ANSWER SECTION:
111.250.179.17.in-addr.arpa. 86400 IN   PTR rn2-msbadger07105.apple.com.

;; Query time: 62 msec
;; SERVER: 17.47.176.10#53(17.47.176.10)

I would recommend that you too do a dig @ and see what you get.

If it works then you can start examining your on prim configs .. if it does not 
work then you need to be using wireshark to figure out what is happening to the 
traffic.

Either way you need to first break your troubleshooting into two parts .. on 
prim vs off prim and proceed from there.


Thank you for your answer.

If I query either authoritative server with dig, or the local recursive 
server, it works in both cases (though I get 164 msec, instead of your 
62 msec, presumably because I am based in Europe; I guess 100 msec to 
cross the Atlantic ocean is not too bad):


;; QUESTION SECTION:
;111.250.179.17.in-addr.arpa.    IN    PTR

;; ANSWER SECTION:
111.250.179.17.in-addr.arpa. 86400 IN    PTR rn2-msbadger07105.apple.com.

;; Query time: 164 msec
;; SERVER: 17.47.176.10#53(17.47.176.10)


Besides, I have other messages from the same source that do get 
delivered. Even the particular message that was originally rejected, was 
eventually accepted when the relay tried again later.


I have not been able to reproduce the timed out result from command 
line. It seems to be a rare occurrence. I have also an example with 
messages from this list: I usually receive them, but three messages from 
today failed (they have actually been sent to my backup mx, so I still 
received them in the end).



Julien

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


RE: Timeout setting

2021-03-25 Thread John W. Blue via bind-users
When I queried the authoritative server directly it worked:

;; QUESTION SECTION:
;111.250.179.17.in-addr.arpa.   IN  PTR

;; ANSWER SECTION:
111.250.179.17.in-addr.arpa. 86400 IN   PTR rn2-msbadger07105.apple.com.

;; Query time: 62 msec
;; SERVER: 17.47.176.10#53(17.47.176.10)

I would recommend that you too do a dig @ and see what you get.

If it works then you can start examining your on prim configs .. if it does not 
work then you need to be using wireshark to figure out what is happening to the 
traffic.

Either way you need to first break your troubleshooting into two parts .. on 
prim vs off prim and proceed from there.

Good hunting.

John

-Original Message-
From: bind-users [mailto:bind-users-boun...@lists.isc.org] On Behalf Of Julien 
Salort
Sent: Thursday, March 25, 2021 12:11 PM
To: bind-users@lists.isc.org
Subject: Timeout setting

Hello,


I have a VPS running postfix and bind9. Bind is used as a recursive resolver, 
in particular to be able to query anti-spam database.

Postfix is also configured to reject incoming connections from servers with no 
reverse dns.

It works great overall, but sometimes legitimate messages get rejected because 
the reverse dns query fails.

Here is an example (anonymized email and host address):

In mail.log:

450 4.7.1 Client host rejected: cannot find your reverse hostname, 
[17.179.250.111]; from=
to= proto=ESMTP helo=
(total: 1)

In named journal:

mars 02 01:14:20 example.com named[2756114]: client @0x7f3a0808c750
127.0.0.1#43646 (111.250.179.17.in-addr.arpa): query: 
111.250.179.17.in-addr.arpa IN PTR +E(0) (127.0.0.1)

mars 02 01:14:25 example.com named[2756114]: client @0x7f3a08079d00
127.0.0.1#43646 (111.250.179.17.in-addr.arpa): query: 
111.250.179.17.in-addr.arpa IN PTR +E(0) (127.0.0.1)

mars 02 01:14:32 example.com named[2756114]: client @0x7f3a0808c750
127.0.0.1#43646 (111.250.179.17.in-addr.arpa): query failed (timed out) for 
111.250.179.17.in-addr.arpa/IN/PTR at query.c:6883

mars 02 01:14:32 example.com named[2756114]: client @0x7f3a000d5110
127.0.0.1#49520 (insideapple.apple.com): query: insideapple.apple.com IN MX + 
(127.0.0.1)


So there is a timeout.

Now if I try again:

$ dig -x 17.179.250.111 @localhost +short rn2-msbadger07105.apple.com.


So it seems that it is just that sometimes the query takes a bit longer...


Is there a general advice regarding timeout for bind?

Should I just choose a longer timeout? Or is there a reason for the default 
value?


I did not have such problems when I was using the ISP dns server instead 
of a local recursive resolver. So I was wondering if the configuration 
is sub-optimal somehow...


Thank you,


Cheers,


Julien


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Timeout setting

2021-03-25 Thread Julien Salort

Hello,


I have a VPS running postfix and bind9. Bind is used as a recursive 
resolver, in particular to be able to query anti-spam database.


Postfix is also configured to reject incoming connections from servers 
with no reverse dns.


It works great overall, but sometimes legitimate messages get rejected 
because the reverse dns query fails.


Here is an example (anonymized email and host address):

In mail.log:

450 4.7.1 Client host rejected: cannot find your reverse hostname, 
[17.179.250.111]; from= 
to= proto=ESMTP helo= 
(total: 1)


In named journal:

mars 02 01:14:20 example.com named[2756114]: client @0x7f3a0808c750 
127.0.0.1#43646 (111.250.179.17.in-addr.arpa): query: 
111.250.179.17.in-addr.arpa IN PTR +E(0) (127.0.0.1)


mars 02 01:14:25 example.com named[2756114]: client @0x7f3a08079d00 
127.0.0.1#43646 (111.250.179.17.in-addr.arpa): query: 
111.250.179.17.in-addr.arpa IN PTR +E(0) (127.0.0.1)


mars 02 01:14:32 example.com named[2756114]: client @0x7f3a0808c750 
127.0.0.1#43646 (111.250.179.17.in-addr.arpa): query failed (timed out) 
for 111.250.179.17.in-addr.arpa/IN/PTR at query.c:6883


mars 02 01:14:32 example.com named[2756114]: client @0x7f3a000d5110 
127.0.0.1#49520 (insideapple.apple.com): query: insideapple.apple.com IN 
MX + (127.0.0.1)



So there is a timeout.

Now if I try again:

$ dig -x 17.179.250.111 @localhost +short
rn2-msbadger07105.apple.com.


So it seems that it is just that sometimes the query takes a bit longer...


Is there a general advice regarding timeout for bind?

Should I just choose a longer timeout? Or is there a reason for the 
default value?



I did not have such problems when I was using the ISP dns server instead 
of a local recursive resolver. So I was wondering if the configuration 
is sub-optimal somehow...



Thank you,


Cheers,


Julien


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: how to stop and remove BIND 9.9.7-P3 on Mac OS X High Sierra 10.13.6?

2021-03-25 Thread Tony Finch
Paul Cizmas  wrote:
>
> but it appears that “service” must be replaced by something else

Yes: init on macOS is called launchd, and the service control program is
called launchctl, which has a reasonably useful man page.

Tony.
-- 
f.anthony.n.finchhttps://dotat.at/
Mull of Galloway to Mull of Kintyre including the Firth of Clyde and
North Channel: Southerly or southwesterly, veering westerly for a
time, 5 to 7, occasionally 4 later. Slight or moderate. Rain or
squally showers. Good, occasionally poor.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


how to stop and remove BIND 9.9.7-P3 on Mac OS X High Sierra 10.13.6?

2021-03-25 Thread Paul Cizmas
Hello:

I am required by the school’s IT to replace BIND 9.9.7-P3 with 9.16.13.  

I identified that indeed the version running is 9.9.7-P3 by typing “named -v”.

I am totally new to BIND and tried to follow the directions given at 
https://kb.isc.org/docs/aa-00312# .

I tried to stop BIND from running, by typing: 

"sudo service org.isc.named stop"

but it appears that “service” must be replaced by something else because I get:

~$ sudo service org.isc.named stop
Password:
sudo: service: command not found

What should “service” be? 

Is there another command I should issue to stop BIND?

Thank you,
Paul


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Advice on Bind9/ISC DHCP cluster

2021-03-25 Thread Olivier
Hello,

I would like to implement a 3 hosts cluster with the following features:

1- host1 is a bind9 master
2- host2 is a bind9 slave/ISC DHCP primary
3- host3 is a bind9 slave/ISC DHCP secondary
4- primary ISC DHCP instance sends dynamic updates to bind9 master
5- secondary ISC DHCP instance sends dynamic updates to bind9 master
6- DNS clients queries Bind9 slaves (hosts 2 and 3)
7- DNS updates are made on Bind9 master

I can accept to loose (either static or dynamic) updates if host1 is down

1. Is it possible to implement both 4 and 5 ?
2. Any alternative architecture (I can use up to 5 hosts) ?

Best regards
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Temporarily no name resolution using second/virtual ip address

2021-03-25 Thread Tony Finch
Jonathan via bind-users  wrote:

> It makes no difference from which subnet the queries come from. For
> testing I used a server in the same subnet like my DNS is, so there is
> no firewall or NAT in between. I also captured the network traffic of
> the DNS-Server and -Client. All I can see is, that the server receives
> the query from the client, but no response is sent from the server. When
> I run dig with the +tcp option, all of the queries will be answered.

Do you have a firewall configured on the server itself? If so does it have
the correct idea about which ports and addresses BIND is listening on?

The other possibility is reverse path filtering - Linux tries to ensure
that packets don't traverse an interface with unexpected addresses. I had
to turn it off on my recursive servers because they have interfaces on two
different VLANs. Dunno if it could cause problems with just one subnet in
play.

set sysctl net.ipv4.conf.XXX.rp_filter=2 where XXX is all, default, and
whatever your ethernet interface is named.

Tony.
-- 
f.anthony.n.finchhttps://dotat.at/
North Utsire, South Utsire: Southwesterly 5, backing southerly 6 or 7,
occasionally gale 8 in North Utsire. Moderate or rough. Showers. Moderate
or good.

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users