i was following this guide to bind dns server
https://www.unixmen.com/dns-server-setu ... s-7-linux/
but i got this error
https://envs.sh/QZ5.jpeg
error in named.service failed
Re: error in named.service failed
I don't have the answer to your question, but firstly, it helps if you mention that you're using WSL on Windows, at least I assume so from the screen shot.
Secondly, since you are doing it in Winows, you're much better off copying and pasting the error. Many people on this list are quite busy and won't bother going to a screenshot, whereas, if you had text in the post, they would be more likely to look.
That will probably get you more (and helpful) answers, than the screenshot does.
Secondly, since you are doing it in Winows, you're much better off copying and pasting the error. Many people on this list are quite busy and won't bother going to a screenshot, whereas, if you had text in the post, they would be more likely to look.
That will probably get you more (and helpful) answers, than the screenshot does.
New users should check the FAQ and Read Me First pages
Re: error in named.service failed
BIND 9 has probably very fine features but I have found dnsmasq to be much simpler to set up, yet sufficient for humble needs.
So, do you need a DNS server, or do you need the BIND?
So, do you need a DNS server, or do you need the BIND?
Re: error in named.service failed
I have rarely found the information from the journalctl and systemctl commands useful when dealing with this type of issue. I suspect that if you run:theseagull wrote: ↑2022/09/13 07:46:53i was following this guide to bind dns server
https://www.unixmen.com/dns-server-setu ... s-7-linux/
but i got this error
https://envs.sh/QZ5.jpeg
Code: Select all
grep named /var/log/messages
Re: error in named.service failed
That ought to be about formatting and filtering. Those commands get data from systemd-journal.service. The rsyslog.service, which writes files like the /var/log/messages, seems to get data from systemd-journal.service too.
Some services do not use these facilities (for everything), but write logs to their own log files directly. For example, httpd and samba. For those cases one really has to "go to files".
Re: error in named.service failed
This appears to be running on Windows so I am not sure that /var/log/messages will exist. I'm also not sure we support this as there is no official CentOS support in WSL.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: error in named.service failed
Maybe there is some way to get the data in a well formatted fashion, with all the lines I need from the systemd commands, but why? grep on the files in /var/log works well and gives me everything I need. Perhaps the developers of systemd chose some poor defaults for the commands; I don't see why I should work around their bad choices when I have an alternative.