I’m trying to figure out something.
If you run an
You will see the bad domain:
When that is not the name of my system in /etc/hosts or /etc/sysconfig/Network.
And no, I sure don’t want to have to edit every single host zone manually per system.
Is their any way I can fix this?
I had to already create the zone all over again (remove the virtual host etc entirely) because my attempt to move some records up made Bind die permentnly etc.
So do you have any ideas?
If you need more expantion on this please let me know, but running an intodns.com test on keithnet.us will, show the one zone that into dns doesn’t like.
I would like it instead to be server1.keithnet.us or something.
Hear is an update.
I’m going to show you some folks a couple of things, and because I’d like to make absolutely sure that things work, I’m going to provide my DNS zone information for keithnet.us, just to make sure.
I have tried, to correct the start of domain record, etc, so that it no longer reads localhost.localdomain.
The problem is now that hwen a name-checkzone keithnet.us /var/named/keithnet.us.hosts is ran, it returns thousands of “ignoring out of zone data” lines.
What exactly does “out of zone” data refer to?
I don’t quite understand that concept, despite all my experience with servers and Linux as a server admin perspective.
Hear is what my zone shows:
@ IN SOA keithnet.us. keithint1234.gmail.com. (
@ IN NS server1.keithnet.us.
keithnet.us. IN A 18.104.22.168
www.keithnet.us. IN A 22.214.171.124
ftp.keithnet.us. IN A 126.96.36.199
m.keithnet.us. IN A 188.8.131.52
localhost.keithnet.us. IN A 127.0.0.1
webmail.keithnet.us. IN A 184.108.40.206
admin.keithnet.us. IN A 220.127.116.11
mail.keithnet.us. IN A 18.104.22.168
keithnet.us. IN MX 5 mail.keithnet.us.
keithnet.us. IN TXT “v=spf1 a mx a:keithnet.us ip4:22.214.171.124 ?all”
ns1.keithnet.us. IN NS ns1.keithnet.us.
ns2.keithnet.us. IN NS ns2.keithnet.us.
ns1.keithnet.us. IN A 126.96.36.199
ns2.keithnet.us. IN A 188.8.131.52
server1.keithnet.us. IN A 184.108.40.206
ns3.keithnet.us. IN NS ns3.keithnet.us.
ns3.keithnet.us. IN A 220.127.116.11
Please ignore the 15m stuff, as I’d like everything to refresh as quickly as possible should updates ever be created.
IntoDNS.com does not like any of those things, but I honestly don’t care.
I’m not trying to please the public as far as my DNS configuration is concerned.
Now, some odd thigns.
Part of the InToDNS results shows:
Missing nameservers reported by parent FAIL: The following nameservers are listed at your nameservers as nameservers for your domain, but are not listed at the parent nameservers (see RFC2181 5.4.1). You need to make sure that these nameservers are working.If they are not working ok, you may have problems!
Missing nameservers reported by your nameservers ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are:
Now, I know that it’s showing ns1 through ns3.keithnet.us in a wrong order, but why is it doing so?
What exactly is happening?
I’d appreciate knowing what you think.
Why does it only list one ns server, that being my server1.keithnet.us line.
It needs to list:
ns1-ns3.keithnet.us each resolving to the respective IPs.
But the ns records are present?
Also, you folks have added a new feeled into Virtualmin, the DNS name feeled?
What the heck is this, and what goes their?
For example, if I want:
Go in the DNS feeled?
Anyhow, I don’t know what’s up.
How should I correct this stuff without busing the zone and causing Bind nine to not restart?
I can’t have it breaking-and I’m not exactly srue what stesp should be taken to resolve this.
Recreating (and removing) the domain is not what I’ll do, so i’m hoping some of you can help.
Okay, I resolved my problem, by moving records around.
So now I have:
@ IN NS ns1.keithnet.us.
@ IN NS ns2.keithnet.us.
@ IN NS ns3.keithnet.us.
All A Records point back to the proper IPs.
All servers as InToDNS.com reports, are now matching.
However, is their a way in future that I can force virtualmin to somehow just add a similar template?I.e.
No matter what the domain name may be?
@ IN NS ns1.eric.com.
@ IN NS ns2.eric.com.
etc as automatic zone records in bind9 upon the creation of a virtual host?
Or must manual editing, and re-ordering of records be necessary?