Hello,
If I want set a domain of www A record to another IP.How to do it?
I know the default www will set cname.If I want set www to another IP address.Could I do it?
Thanks a lot.
Could I set www to another IP address?
- akong7777
- Closed
- Thread is marked as Resolved.
-
-
Hey there, ATM just with modifications or by writing a listener-file..
-
-
Thanks.
Could you tell what file to modifications?
If I just modifications one domain www A record,How to do it? -
I edit /etc/imscp/bind/working/{domain}.db this file.
I edit www and adjust serial then restart bind.But the www always use old cname settings.
How to do it? -
-
Cannot tell you in detail. Have never tried it, sry..
-
-
-
yea, sure, just install this listener https://github.com/flames/imsc…ners.d/10_named_tuning.pl
it removes the default IN A record from zone, if a custom IN A record exists for domain.tld. -
You are using the internal bind?
Have a look at the /var/cache/bind/domain.db file as bind is using this files and the working directory is just a backup (asaik)
I prefer using external nameservers as you should always have at least 2 nameservers for any domain.
-
-
Thanks every friend.
I edit /var/cache/bind/domain.db and /etc/imscp/bind/working/domain.db these two files and restart bind.
It's can change www record.https://github.com/flames/imsc…ners.d/10_named_tuning.pl
If I only clear one domain record.Could I use this?
And how to use this command?
Is this command "perl 10_named_tuning.pl" -
No add this listener-file to /etc/imscp/listener.d/ (or something like that) and then restart the imscp-autoinstall. This listener-file acts like a plugin.
PS: May you need to modify it to your needs.
-