Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Jon Smart
> On Sun, Aug 06, 2023 at 05:17:23PM +0800, Jon Smart wrote: >> It's a VPS provided by a local ISP. The VPS has a static IPv4. >> Do you know how to know if /etc/resolv.conf is modified by dhcp? > > The first thing you could do is check whether a DHCP client daemon > is

about PTR for an IP

2023-08-06 Thread Jon Smart
Hello, I know a hostname can point to multi-IPs. but can an IP have multi hostnames in PTR? 164.0.217.172.in-addr.arpa. 86400 INPTR mia09s16-in-f4.1e100.net. 164.0.217.172.in-addr.arpa. 86400 INPTR ord38s42-in-f4.1e100.net. 164.0.217.172.in-addr.arpa. 86400 INPTR

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Jon Smart
> On Sun, Aug 6, 2023 at 6:13 AM Jon Smart wrote: > >> It's a VPS provided by a local ISP. The VPS has a static IPv4. >> Do you know how to know if /etc/resolv.conf is modified by dhcp? >> >> Thanks. >> >> >> > >> > Hi Jon, >> >

Re: /etc/resolv.conf changes every booting time

2023-08-06 Thread Jon Smart
It's a VPS provided by a local ISP. The VPS has a static IPv4. Do you know how to know if /etc/resolv.conf is modified by dhcp? Thanks. > > Hi Jon, > >> I have removed the default systemd-resolved local dns service following >> the link below, >> >>

/etc/resolv.conf changes every booting time

2023-08-05 Thread Jon Smart
Hello I have removed the default systemd-resolved local dns service following the link below, https://askubuntu.com/questions/907246/how-to-disable-systemd-resolved-in-ubuntu And I have unbound installed and enabled as local DNS server. But every time I reboot the server, the configuration