gospodinov
Verified User
- Joined
- Apr 19, 2020
- Messages
- 10
Hello, i have 2 ip addressess in my server. First one is prefered ip and second one is backup, i have made some changes in named so it returns results as sequence created in /var/named/domain.db but when i made some change (add subdomain, etc...) the script always turns the ip sequence.
To become more clear i will give example :
IP1 = 1.1.1.1
Backup IP = 2.2.2.2
domain.db should look like this :
www 14400 IN A 1.1.1.1
www 14400 IN A 2.2.2.2
But when i add subdomain it looks like this :
www 14400 IN A 2.2.2.2
www 14400 IN A 1.1.1.1
Any ideas what to do so it always make IP1 first and Backup IP second ?
To become more clear i will give example :
IP1 = 1.1.1.1
Backup IP = 2.2.2.2
domain.db should look like this :
www 14400 IN A 1.1.1.1
www 14400 IN A 2.2.2.2
But when i add subdomain it looks like this :
www 14400 IN A 2.2.2.2
www 14400 IN A 1.1.1.1
Any ideas what to do so it always make IP1 first and Backup IP second ?