Re: Suppress log entry...
Like what? I’ve never had any issues. Jeff On Apr 13, 2015, at 12:27 PM, Emil Natan shly...@gmail.com wrote: in other words: if you everytime you change the config hard restart named instead a reload you are doing it terrible wrong with a ton of bad side effects ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Suppress log entry...
On 14.04.15 07:36, SH Development wrote: Like what? I’ve never had any issues. Like you uselessly flush all cached data, RTTs ... and you get unwanted log line in the output. If you never had any issues with reconfig, use rndc reconfig. On Apr 13, 2015, at 12:27 PM, Emil Natan shly...@gmail.com wrote: in other words: if you everytime you change the config hard restart named instead a reload you are doing it terrible wrong with a ton of bad side effects -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Your mouse has moved. Windows NT will now restart for changes to take to take effect. [OK] ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
RE: Suppress log entry...
On 14.04.15 07:36, SH Development wrote: Like what? I’ve never had any issues. Like you uselessly flush all cached data, RTTs ... and you get unwanted log line in the output. If you never had any issues with reconfig, use rndc reconfig. On Apr 13, 2015, at 12:27 PM, Emil Natan shly...@gmail.com wrote: in other words: if you everytime you change the config hard restart named instead a reload you are doing it terrible wrong with a ton of bad side effects Let's not forget that every time you restart named, you have to reload all your zones from scratch. If you're only running a small number of small zones, this probably doesn't mean much. If you're running hundreds (or even thousands) of zones with millions of records, the time loss on a restart is quite significant, even if you are running the latest bind using compiled (memory map) zone files on disk. Stuart ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Suppress log entry...
For me, it’s in the interest of keeping clean easy to read log files. Seems like this info should be available to turn on and off when needed for debugging, not every time the config is changed. Jeff On Apr 13, 2015, at 9:10 AM, Alan Clegg a...@clegg.com wrote: On 4/13/15 2:08 AM, SH Development wrote: Is there a way to suppress the build information in the log every time BIND restarts/reloads? I’m getting: built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libtool' '--localstatedir=/var' '--enable-threads' '--enable-ipv6' '--enable-filter-' '--with-pic' '--disable-static' '--disable-openssl-version-check' '--with-dlopen=yes' '--with-dlz-ldap=yes' '--with-dlz-postgres=yes' '--with-dlz-mysql=yes' '--with-dlz-filesystem=yes' '--with-gssapi=yes' '--disable-isc-spnego' '--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets' '--enable-fixed-rrset' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexce ptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CPPFLAGS= -DDIG_SIGCHASE’ It's a single line that is generated and actually gives a significantly important amount of information. I'm curious as to why you feel it should be suppressed... I was teaching the class in which the addition of this line was brought up and find it extremely useful. AlanC ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list 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 bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Suppress log entry...
I think showing this line on start is a good thing. I'm updating our DNS servers regularly and debugging a problem and checking the old logs it's useful to find which version was running at the time and how it was built. Emil On Mon, Apr 13, 2015 at 8:19 PM, Alan Clegg a...@clegg.com wrote: On 4/13/15 1:18 PM, Reindl Harald wrote: Am 13.04.2015 um 19:14 schrieb SH Development: For me, it’s in the interest of keeping clean easy to read log files. Seems like this info should be available to turn on and off when needed for debugging, not every time the config is changed. this line appears only when named is started in other words: if you everytime you change the config hard restart named instead a reload you are doing it terrible wrong with a ton of bad side effects Yep. rndc reconfig does the loading of configuration changes and does not put the how this binary was built message into the log file. AlanC ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list 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 bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Suppress log entry...
Am 13.04.2015 um 08:08 schrieb SH Development: Is there a way to suppress the build information in the log every time BIND restarts/reloads? I’m getting: to filter that out is the job of the syslog daemon rsyslog.conf: :msg, contains, host=x86_64-redhat-linux-gnu stop built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' signature.asc Description: OpenPGP digital signature ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Suppress log entry...
On 4/13/15 2:08 AM, SH Development wrote: Is there a way to suppress the build information in the log every time BIND restarts/reloads? I’m getting: built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libtool' '--localstatedir=/var' '--enable-threads' '--enable-ipv6' '--enable-filter-' '--with-pic' '--disable-static' '--disable-openssl-version-check' '--with-dlopen=yes' '--with-dlz-ldap=yes' '--with-dlz-postgres=yes' '--with-dlz-mysql=yes' '--with-dlz-filesystem=yes' '--with-gssapi=yes' '--disable-isc-spnego' '--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets' '--enable-fixed-rrset' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexce ptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CPPFLAGS= -DDIG_SIGCHASE’ It's a single line that is generated and actually gives a significantly important amount of information. I'm curious as to why you feel it should be suppressed... I was teaching the class in which the addition of this line was brought up and find it extremely useful. AlanC signature.asc Description: OpenPGP digital signature ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users