Changed NIC IP, KeyHelp domain DNS has not updated

Have you discovered a bug? Tell us about it.
Locked
shoulders
Posts: 70
Joined: Wed 25. Oct 2023, 21:05

Changed NIC IP, KeyHelp domain DNS has not updated

Post by shoulders »

I'm sure the cause of the problem is within KeyHelp
yes


Server operating system + version
Linux khdebian.mydomain.com 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64


Server virtualization technology used
TrueNAS / KVM


KeyHelp version + build number
23.2 (Build 3097)


Problem description / error messages
While testing my KeyHelp on my local network the DHCP address it got was 10.0.0.137 which worked as expected. I then changed the IP to a static IP address of 10.0.0.250

I connected into the server (10.0.0.250) by using puttty/SSH and when I log in I am greeted with

Code: Select all

 --------------------------------------------------
  This server is powered by KeyHelp!

  * Control panel access:
      https://khdebian.mydomain.com
      https://10.0.0.137

  * Login data:
      /root/keyhelp_login_data_*

  * CLI utilities:
      # keyhelp
      # keyhelp-toolbox
 --------------------------------------------------
IP a

Code: Select all

root@khdebian:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    altname enp0s3
    inet 10.0.0.250/24 brd 10.0.0.255 scope global ens3
       valid_lft forever preferred_lft forever
    inet6 fe80::xxx:xxxx:xxxx:xxxx/64 scope link
       valid_lft forever preferred_lft forever
root@khdebian:~#
So I went to 'Settings --> Configuration --> System --> IP Addresses' and update as required.


Expected result

All domains to have the 10.0.0.137 IP in their DNS updated to 10.0.0.250

The login details as shown above to show

Code: Select all

  * Control panel access:
      https://khdebian.mydomain.com
      https://10.0.0.250
Actual result

All domains were updated to 10.0.0.250 except the KeyHelp domain khdebain.mydomain.com which is still on 10.0.0.137



Steps to reproduce
Change the network card IP address via the command line.


Additional information
This is a fresh copy of KeyHelp that I am messing about with.

There is no way to edit the DNS zone through KeyHelp and the IP update process does not update the KeyHelp domain.

I have not tried changing it in the config files manually as I think this is a bug.
User avatar
Tobi
Community Moderator
Posts: 2831
Joined: Thu 5. Jan 2017, 13:24

Re: Changed NIC IP, KeyHelp domain DNS has not updated

Post by Tobi »

This is probably not a bug since the motd is actually only generated at setup.
Changes are up to come.
Sorry for that, but the followup is in german languange.

This way please: viewtopic.php?t=12663
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Locked