aaP_irwanirmawan1996
Hi, what did you add? What is the error at the bottom?
i can't add domain in dns manager aapanel
Previously I added a domain, and it worked and my website was running normally.
But then error, and I uninstall dns manager. I installed it again then couldn't add the domain, an error like that.
I just copied the error below :
"Sorry, something went wrong:
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in call
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/panelPlugin.py", line 2083, in a
return eval(execStr)
File "", line 1, in
File "/www/server/panel/plugin/dns_manager/dns_manager_main.py", line 479, in add_domain
if self.__check_domain_resolve(domain,type=dns_type):
File "/www/server/panel/plugin/dns_manager/dns_manager_main.py", line 305, in __check_domain_resolve
my_resolver = dns.resolver.Resolver()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/dns/resolver.py", line 734, in init
self.read_resolv_conf(filename)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/dns/resolver.py", line 826, in read_resolv_conf
raise NoResolverConfiguration
dns.resolver.NoResolverConfiguration: Resolver configuration could not be read or specified no nameservers."
aaP_irwanirmawan1996
Hi, please reinstall it again, will it fix it? Pay attention to see if there are any errors in the installation process.
Yes any errors like that
aaP_irwanirmawan1996
Hello, is your server network normal? Is the DNS server set up?
ping google.com
cat /etc/resolv.conf
Server network is normaly, and DNS server set up
How to do this : cat /etc/resolv.conf ?
Sorry I'm new to aapanel.
aaP_irwanirmawan1996
Your error message is unable to connect to yum source. It is necessary to check whether the network of the server is normal, and check whether the DNS server is set.
Use the ssh tool to execute the following two commands:
cat /etc/resolv.conf
ping google.com
aaP_irwanirmawan1996
This is caused by the abnormality of your server network.It is necessary to check whether the network of the server is normal, and check whether the DNS server is set.
Use the ssh tool to execute the following two commands:
cat /etc/resolv.conf
ping google.com
ping brandnew.aapanel.com
- Edited
aaP_irwanirmawan1996
Execute the following command to set the nameserver:
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
echo "nameserver 1.1.1.1" >> /etc/resolv.conf
ping brandnew.aapanel.com
okey reply.. And then ?
aaP_irwanirmawan1996
Then the network is normal, go to reinstall the DNS manager plug-in, and also pay attention to whether there is an error during the installation process
mean uninstalling dns manager first and then reinstalling again ?
done instal. after that ?
aaP_irwanirmawan1996
Did the installation process go wrong? If there are no errors. Try adding a domain.
Yes wrong. Like that :
aaP_irwanirmawan1996
Hello, this is normal, is it possible to add a domain?
Okay, i will try add domain again