Re: dhclient hook not overwritten /etc/resolv.conf

2019-12-19 Thread Ondřej Surý
You need to ask on your distro user support forum and not here. This topic is beyond the subject of this list as it could include all kinds of integrations that your distribution provides. This is not a bind-users topic. Ondrej -- Ondřej Surý ond...@isc.org > On 19 Dec 2019, at 11:41,

Re: dhclient hook not overwritten /etc/resolv.conf

2019-12-19 Thread 联通集团联通云数据有限公司本部
I only want to prepend only a IPv6 nameserver. Other ns are added by users. Zhengyu Thanks. > 2019年12月19日 下午6:32,Reindl Harald 写道: > > > > Am 19.12.19 um 10:58 schrieb Zhengyu Pan: >> Sorry. I sent wrong mailing group. >> chattr not worked. It prompted: >> Shutting down inteface eth0:

Re: dhclient hook not overwritten /etc/resolv.conf

2019-12-19 Thread 联通集团联通云数据有限公司本部
Thanks. I have tried append prepend and supersede option. They are ok for ipv4 name server. But It doesn’t work for ipv6 name server. Zhengyu 2019年12月19日 下午6:16,Philippe Maechler mailto:pmaechler...@glattnet.ch>> 写道: Hi Zhengyu Pan Have you tried to put this nameserver address in

Re: dhclient hook not overwritten /etc/resolv.conf

2019-12-19 Thread Reindl Harald
Am 19.12.19 um 10:58 schrieb Zhengyu Pan: > Sorry. I sent wrong mailing group. > chattr not worked. It prompted: > Shutting down inteface eth0: chattr:Operation not permitted while setting > flags on /etc/resolv.conf. the opposite is true it proves *that* it worked but waht can#t wrk i when

RE: dhclient hook not overwritten /etc/resolv.conf

2019-12-19 Thread Philippe Maechler
Hi Zhengyu Pan Have you tried to put this nameserver address in dhclient.conf? >From man dhclient.conf append { [option declaration] [, ... option declaration] } If for some set of options the client should first use the values supplied by the server, if

Re: dhclient hook not overwritten /etc/resolv.conf

2019-12-19 Thread 联通集团联通云数据有限公司本部
Sorry. I sent wrong mailing group. chattr not worked. It prompted: Shutting down inteface eth0: chattr:Operation not permitted while setting flags on /etc/resolv.conf. > 2019年12月19日 下午5:28,Reindl Harald 写道: > > > > Am 19.12.19 um 10:01 schrieb Zhengyu Pan: >> My OS is Centos7. I add a bash

Re: dhclient hook not overwritten /etc/resolv.conf

2019-12-19 Thread Reindl Harald
Am 19.12.19 um 10:01 schrieb Zhengyu Pan: > My OS is Centos7. I add a bash script dns.sh in > /etc/dhcp/dhclient-exit-hooks.d . The script content is > > #!/bin/bash > echo“nameserver1.1.1.1”>>/etc/resolv.conf > > I want to append a nameserver in /etc/resove.conf. > However, when I restart

Changes BIND 9.15+ source distribution (gz -> xz, and SHA1 deprecation)

2019-12-19 Thread Ondřej Surý
Hi, the BIND 9 development team has decided to change the compression method for BIND 9.15.7, and also for the next BIND 9.16.0 release to widely available **xz** compression algorithm. Therefore, the tarball extension has changed from

dhclient hook not overwritten /etc/resolv.conf

2019-12-19 Thread 联通集团联通云数据有限公司本部
Hi, My OS is Centos7. I add a bash script dns.sh in /etc/dhcp/dhclient-exit-hooks.d . The script content is #!/bin/bash echo “nameserver 1.1.1.1” >> /etc/resolv.conf I want to append a nameserver in /etc/resove.conf. However, when I restart network. /etc/resove.conf not changed.