Recognize BIND DNS and disregard Lightsail Networking

0

OS: ubuntu 20.04
I have registered my domain name at Godaddy, setup custom nameservers and set the nameserver hostnames to the Static IP of my instance.
I am using Webmin/Virtualmin and have installed BIND DNS which I would like to use instead of a Lightsail Networking DNS zone.
How do I configure things to recognize my BIND DNS and disregard Lightsail Networking?

bbd153
已提问 3 年前224 查看次数
2 回答
0
profile picture
David G
已回答 3 年前
0

I found that the following worked for me.
Login to AWS console: https://console.aws.amazon.com
Create a new DHCP option set
Enter an option set name
Enter the domain name
Leave other fields empty
Go to "Your VPS's"
Select the VPC
Under "Actions" dropdown,
edit DHCP option set and select the set you just created
edit DNS hostnames... disable
edit DNS resolution... disable
Reboot the instance

After doing this my running BIND DNS server was recognized and I was able to enter DNS records there.

bbd153
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则