Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 26 18:28
    GitLab | Libor Peltan pushed 1 commits to Knot DNS
  • Feb 26 17:35
    GitLab | Libor Peltan pushed 1 commits to Knot DNS
  • Feb 26 15:27
    GitLab | Libor Peltan pushed 1 commits to Knot DNS
  • Feb 26 12:10
    GitLab | Daniel Salzman pushed 1 commits to Knot DNS
  • Feb 26 12:01
    GitLab | Libor Peltan pushed 1 commits to Knot DNS
  • Feb 26 08:20
    GitLab | Daniel Salzman pushed 1 commits to Knot DNS
  • Feb 25 16:21
    GitLab | Libor Peltan pushed 1 commits to Knot DNS
  • Feb 25 12:36
    GitLab | Libor Peltan pushed 1 commits to Knot DNS
  • Feb 25 11:51
    GitLab | Daniel Salzman pushed 3 commits to Knot DNS
  • Feb 24 18:28
    GitLab | Libor Peltan pushed 3 commits to Knot DNS
  • Feb 24 18:18
    GitLab | Libor Peltan pushed 3 commits to Knot DNS
  • Feb 24 15:38
    Daniel Salzman commented on issue #334 kdig: algorithm name for PRIVATEDNS in Knot DNS
  • Feb 24 15:37
    GitLab | Daniel Salzman pushed 1 commits to Knot DNS
  • Feb 24 15:36
    Jan Hák closed issue #334 kdig: algorithm name for PRIVATEDNS in Knot DNS
  • Feb 24 15:22
    GitLab | Jan Hák pushed 1 commits to Knot DNS
  • Feb 24 15:18
    GitLab | Daniel Salzman pushed 1 commits to Knot DNS
  • Feb 24 14:55
    GitLab | Jan Hák pushed 1 commits to Knot DNS
  • Feb 24 14:52
    GitLab | Daniel Salzman pushed 1 commits to Knot DNS
  • Feb 24 14:17
    GitLab | Jan Hák pushed 1 commits to Knot DNS
  • Feb 24 13:52
    GitLab | Jan Hák pushed 1 commits to Knot DNS
bleve
@bleve
are the master servers :)
Or there should be separate setting for zonexfers for known servers using tsig.
If I could set timeout per server there wouldn't be any issue.
Daniel Salzman
@salzmdan
No, it's on a higher level of the processing. It's not that easy.
bleve
@bleve
I can imagine.
Daniel Salzman
@salzmdan
Still you can adjust the configuration! :-)
bleve
@bleve
sure - and I did for now.
@salzmdan is 2.9.2 sitll far ahead?
Daniel Salzman
@salzmdan
This week. Based on the previous release dates, you could guess when ;-)
bleve
@bleve
I haven't tracked those, I'd just think there is quite important bug fix waiting for release :)
Daniel Salzman
@salzmdan
I think there are more users who use Knot DNS on slaves than on masters. So the default for tcp-io-timeout reflects this situation. Also users with huge zones must increase the limit.
bleve
@bleve
No huge zones here :)
Daniel Salzman
@salzmdan
Probably you are on the border :-)
bleve
@bleve
Issue with anycast is some anycast service hidden masters are on the other side of the world.
when ping to slave is 119ms 200ms tcp timeout is not so good...
Daniel Salzman
@salzmdan
But this timeout doesn't count the TCP segment round trip time! There are some data available to read! For short messages (1 TCP segment) it's ok.
bleve
@bleve
ok - so network latency is not issue here?
Daniel Salzman
@salzmdan
In most cases (no transfers) no, it's not an issue.
bleve
@bleve
this is transfers.
Daniel Salzman
@salzmdan
Yes, I know. So in this case you have to tune the config.
When there are more users complaining about this default, we can change it. So far I think it's ok.
bleve
@bleve
I didn't have any problems before anycast dns service.
My own servers don't have issues with timeouts.
But those are all less than 10ms away.
bleve
@bleve
Hmh. I smell fresh software :)
In production, seem to work
bleve
@bleve
@salzmdan Back to tcp timeout. Increasing to 500ms did the trick and slaves don't get errors any more.
Micah
@micah_gitlab
hi, my slaves are having trouble refreshing one of my zones from my master, they say no usable master and I cannot see why
Daniel Salzman
@salzmdan
Hi, any logs? Try enabling debug verbosity level
Micah
@micah_gitlab
I only see refresh, remote owl not usable
and refresh, remote owl, address 0.0.0.0@53, failed (connection reset)
which is odd, the other zones between those machines are fine
Daniel Salzman
@salzmdan
Is the zone loaded on the master? Can you dig it?
Micah
@micah_gitlab
the master says, debug: TCP, send, address 0.0.0.0@45652 (connection timeout) (where the 0.0.0.0 is the ip)
I can do dig @127.0.0.1 and get a response
Daniel Salzman
@salzmdan
It sounds like the TCP timeout issue. Try increasing https://www.knot-dns.cz/docs/2.9/html/reference.html#tcp-io-timeout
on the master
Micah
@micah_gitlab
that would be weird, these machines are connected via a switch
Daniel Salzman
@salzmdan
I suspect the zone is bigger than the other ones?
Micah
@micah_gitlab
it is
huh, the tcp-timeout seemed to resolve it
bleve
@bleve
@salzmdan I really think default for tcp-io-timeout is too low :(
Daniel Salzman
@salzmdan
I understand your opinion, but you are influenced by your use case only.Probably you don't know how vulnerable TCP is :-)
There is no universal value for master servers. I can set the default to 500 ms. It will solve just your problem and will affect all other slave servers, which don't need it...
On the other hand, there is no significant difference between 200 and 500.
Micah
@micah_gitlab
I just noticed that I stumbled into the @bleve conversation about tcp timeouts with my tcp timeout problem :D
Daniel Salzman
@salzmdan
Yes :-D
Micah
@micah_gitlab
I swear I'm not a sock puppet account for @bleve :D
Jonathan Foote
@footePGH_twitter
Hi all. It looks like the oss-fuzz integration build broke due to gnutls requiring libev4: https://oss-fuzz-build-logs.storage.googleapis.com/log-8c57a29d-aecc-4537-9964-28f39ff6104e.txt
Step #4: configure: error: ***
Step #4: *** libev4 was not found.
I think this patch to the oss-fuzz integration will fix it
$ git diff
diff --git a/projects/knot-dns/Dockerfile b/projects/knot-dns/Dockerfile
index 22b1039..4977181 100644
--- a/projects/knot-dns/Dockerfile
+++ b/projects/knot-dns/Dockerfile
@@ -28,7 +28,9 @@ RUN apt-get update && apt-get install -y \
  make \
  pkg-config \
  texinfo \
- wget
+ wget \
+ libev4 \
+ libev-dev

 ENV GNULIB_TOOL $SRC/gnulib/gnulib-tool
 RUN git clone git://git.savannah.gnu.org/gnulib.git