Håkan Lindqvist

Jul 21, 2018 23:02
"More control", but you seem a bit unfamiliar with the whole environment. As long as you are prepared to learn, I guess.
Jul 21, 2018 22:46
That's kind of my point. This is infrastructure that you have now chosen to run yourself, but you could choose to focus on your thing and use some existing managed service for it instead.
Jul 21, 2018 22:42
Not saying this to cause offense, but I do get the feeling that from a professional perspective you're in over your head and that unless this is purely for learning purposes you may want to use some managed service instead. Just my 2c.
Jul 21, 2018 22:39
If there are more domains that you are setting up the same way, I guess you'll want to fix all of them
Jul 21, 2018 22:38
Well, you were talking about revelhost.net before, and if that also has allow-transfer none, then that certainly explains why what you asked about doesn't work
Jul 21, 2018 22:38
(I think it was revelhost.net earlier?)
Jul 21, 2018 22:38
If that is the relevant zone / if the relevant zone looks the same
Jul 21, 2018 22:37
Yes
Jul 21, 2018 22:37
facepalm
Jul 21, 2018 22:35
systemctl restart bind9 would be the more general approach to restarting a service in modern Debian, I guess. But sending HUP ought to work for getting it to reread the config.
Jul 21, 2018 22:32
(Worth noting, named itself only knows to read /etc/bind/named.conf, the file Debian ships just has include directives pointing to those other files so it reads them all)
Jul 21, 2018 22:31
And named.conf.local and whatever
Jul 21, 2018 22:31
Yes...?
Jul 21, 2018 22:30
Sure
Jul 21, 2018 22:29
Eg, do you also have allow-transfer on the zone level, overriding the global configuration that you are showing in the question?
Jul 21, 2018 22:27
So that is one of the IPs listed by Linode, and which the small part of the named config you have shown suggests would be allowed, but for whatever reason it's actually denied. If you are sure that named has been reloaded/restarted after you made those changes, I think you'll have to show what is actually going on in that named config as a whole.
Jul 21, 2018 22:26
Well, there you go
Jul 21, 2018 22:22
Something like journalctl -ex -u bind9 maybe, unless you have specifically configured something.
Jul 21, 2018 22:19
But what do your named logs say?
Jul 21, 2018 22:17
If the question is about the zone transfers to the Linode nameservers, then it doesn't have to do with it. If it has to do with anything else, then it could possibly be relevant but then I'm not sure what the question actually is.
Jul 21, 2018 22:12
I would still suggest checking the logs for AXFR attempts from the Linode nameservers. They should be attempting and based on them answering queries with SERVFAIL it would appear they fail to complete the AXFR
Jul 21, 2018 22:11
The delegation is important in the greater picture but not actually relevant to making the zone transfer work
Jul 21, 2018 22:10
Correct?
Jul 21, 2018 22:10
It's the other way around that you are trying to get to work
Jul 21, 2018 22:09
That was you trying to axfr from one of the linode nameservers. Not the other way around, right?
Jul 21, 2018 22:09
Regarding what you did... dig axfr @162.159.25.129 revelhost.net (?), I'm not actually sure how that is relevant to anything
Jul 21, 2018 22:07
Ok, but I don't believe your server is supposed to be allowed (at least not with the config included in the question)?
Jul 21, 2018 22:06
Okay, but where from was that initiated? And was that source allowed?
Jul 21, 2018 22:04
Regardless if it's an error or not, anything at all regarding the expected zone transfers?
Jul 21, 2018 22:04
What do you see in the logs?
Jul 21, 2018 22:03
I doubt you need anything in "domain transfers" in the Linode zone configuration, but I guess that doesn't hurt
Jul 21, 2018 21:43
As in that it was already correct? Unless you mean that you just fixed something and it now works, clearly something is wrong either on your end or on their end. What about your logs, any hints as to what happens to their zone transfers?
Jul 21, 2018 21:43
I meant the operator of the slave servers (Linode in this case, if I understand correctly)
Jul 21, 2018 21:43
In the earlier version of the question where you had the dig output for a regular query we could see that you get SERVFAIL back which suggests that the zone exists but something is wrong. Quite possibly they are unable to perform the zone transfer. Can you check and double-check that you have given them the correct information about your zone (ie, correct master ip and obviously correct zone name) and check your own logs for traces of their attempted zone transfers?
Jul 21, 2018 21:43
That doesn't look like a representative query for the problem you were describing. Something like dig @162.159.27.72 example.com +norec, maybe?
Jul 21, 2018 21:43
What kind of response do you get from the slave servers if you query them directly (using eg dig)?
 
Jan 27, 2018 01:20
Good night
Jan 27, 2018 01:19
And do make sure that all addresses etc are consistent, because it makes little sense to try to spot the error if the actual problem statement is accidentally inconsistent for whatever reason.
Jan 27, 2018 01:18
I'm going to have to leave for tonight, but I would suggest that you add all the info into the question. If you are going with the forward-zones approach, do add dig output that shows the remaining problem (because it sounded like that solved the initial problem?)
Jan 27, 2018 01:17
In terms of DNS, what happens? Do they use 192.168.1.5? What does 192.168.1.5 answer? Etc
Jan 27, 2018 00:56
And what happens on those other servers?
Jan 27, 2018 00:51
I thought you said that after you added forward-zones=google123.com=192.0.1.7 (I guess actually 192.168.1.5 or something?) it worked when testing with dig?
Jan 27, 2018 00:46
And that worked?
Jan 27, 2018 00:46
Ok, so when you tested with dig from one of these clients it was @192.168.1.5 or what?
Jan 27, 2018 00:37
Afaict dnsdist is on 192.0.1.5?
Jan 27, 2018 00:37
Just to try to relate this back to the question, what is 192.0.1.7 in relation to the addresses mentioned in the question?
Jan 27, 2018 00:30
And then "But if i ping any domain, i get error ping: example.com: Name or service not known." which suggests the problem may rather be with how the stub resolver on that host is configured? (Ie, ping using the stub resolver, in contrast to how you had dig query the nameserver directly)
Jan 27, 2018 00:27
"After dig ANY example123.ru @192.0.1.7 at server in network 192.0.1.0/24 or at dns server dig ANY example123.ru @127.0.0.1 i ger records from Authoritative server." <--- this is what I'm referring to. That sounded like it did work?
Jan 27, 2018 00:23
If you go with that approach, clients would get authoritative answers for your local zones, like they did before. Not that it's clear from the question that this would matter.
Jan 27, 2018 00:22
If you want something that will behave more closely to pdns-auth with recursor, I think the "making dnsdist always send queries for your zones directly to pdns-auth" would be it. Not that I know if this would solve your problem, considering it's somewhat unclear what exactly the problem is when using the abovementioned changes compared to the config in the question.