URGENT - domainpointer uses second and wrong IP

Benjamin Bakker

Verified User
Joined
Mar 4, 2010
Messages
10
Hello,

When I create a domainpointer in a user account the DNS contains a second IP.
This IP is already assigned by the admin to another user for his SSL.
( so there are two IP's provided in the DNS of the domainpointer, the shared one and the other already assigned one )

Is this a bug in DirectAdmin or will it be a server configuration issue?

Thank you!

Best regards,
Benjamin

UPDATE:

I have tested the following.
Assign the user to another ip, and set it back to the shared one.
Now there are 3 ip adresses asigned to the user. Somewhere, the user is not updated as it should be.

A second thing, I made a domainpointer, this domainpointer is not shown at the screen 'show user' where all the domainpointers should be shown.

I hope someone can help me out!
 
Last edited:
Hello,

1) Check the file:
/usr/local/directadmin/data/users/username/domains/domain.com.ip_list

to see if both IPs are assigned to that domain.
If the domain should only have 1 IP, then that file should only contain 1 IP.

Note there is a bug in the ipswap.sh with the introduction of the multi-ip setup, where the old IP isn't removed from the user_ip.list file, and the domain.com.ip_list files. It's been fixed in the code, but has not yet been released.
http://www.directadmin.com/features.php?id=1105

If you've recently run the ipswap.sh, edit yours to have the loop mentioned in that guide, then run it again. (say yes to continue anyway if it asks you that it cannot find the IP file.. since it was already processed)


2) Regarding the domain pointers in the "Show All Users" page, that pages uses a cache file called show_all_users.cache. This file is updated, usually right away, but if it wasn't updated (for whatever reason), it should be updated with the night tally later on.

John
 
Back
Top