[BUG] Old IP not removed from domain.ip_list

interfasys

Verified User
Joined
Oct 31, 2003
Messages
1,821
Location
Switzerland
As a reseller, change the user's IP and then check the ip_list file, both the old and the new IP will be there.

Also, and this is a bigger problem, the host in httpd.conf will contain both IPs

And, it seems the SSL vhost is removed from /etc/httpd/conf/ips.conf, but it's not created for the user.
 
Last edited:
Hello,

I have not yet been able to reproduce this. Anyone else?

I tested swapping the IPv4 server IP to an IPv6 shared IP.
The user_ip.list is being updated correctly.

Note, I'm not using the "additional ips" option, I'm doing the full swap of the ip with "Set IP To".

Let me know if I'm missing something.

John
 
Had same problem.

Changed an user IP (not added) on latest release and then swapped back to the original.

Started to have VritualHost warnings on apache restart so i'd investigate and notice that the user iplist had still both ip and the httpd.conf user's own file had virtualhosts with both ip

Regards
 
Hi,

We recently had to move our servers. We also encountered this problem.

We switched in IPv4 addresses.

It is a user with its own IP address. Both the old IP addresses (Server and ns1) still found in the iplists (domains iplists) files of that user. The new one is also added to the file.

Vhosts is updated how it should.

DirectAdmin 1.37 at that time.

Hope the information helps.

Regards,

Dennis
 
Last edited:
We switched in IPv4 addresses.
...
DirectAdmin 1.37 at that time.
Although 1.38.0 is likely already has the fixed code, in your case, what method was used to switch the IPs? The ipswap.sh, or the DirectAdmin interface?

John
 
Hi John,

I did the ipswap.sh for the server itself and after I could reach the webinterface I used that for changing the IP of the users which have an owned IP.

Regards,

Dennis
 
Back
Top