9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] DNS
@ 2017-04-01  1:28 cinap_lenrek
  2017-04-01  3:40 ` Skip Tavakkolian
  0 siblings, 1 reply; 71+ messages in thread
From: cinap_lenrek @ 2017-04-01  1:28 UTC (permalink / raw)
  To: 9fans

yes. raising Maxretries to > 5 in dnresolve.c fixes it. this parameter
limits the chain of cname redirects.

--
cinap



^ permalink raw reply	[flat|nested] 71+ messages in thread
* [9fans] DNS
@ 2017-03-20  7:26 Skip Tavakkolian
  2017-03-21 19:19 ` Skip Tavakkolian
  0 siblings, 1 reply; 71+ messages in thread
From: Skip Tavakkolian @ 2017-03-20  7:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

It seems Plan 9 dns can't resolve www.paypal.com correctly;  I'm not sure
why.

Can anyone with a 9front installation try this to see if it resolves to the
an IP address (i.e. see a final "answer" output)?

ndb/dnsdebug www.paypal.com

Thanks,
-Skip

[-- Attachment #2: Type: text/html, Size: 465 bytes --]

^ permalink raw reply	[flat|nested] 71+ messages in thread
* Re: [9fans] dns
@ 2012-08-26 14:48 cinap_lenrek
  0 siblings, 0 replies; 71+ messages in thread
From: cinap_lenrek @ 2012-08-26 14:48 UTC (permalink / raw)
  To: 9fans

9fans stoped sending me mail again, i read your response
on the 9fans archive.

you are indeed correct, i missed that it used rralloc() wich
allocates all the structures. so false alarm from me again,
but at least you spoted the memory leak.

another thing, the DN* rr->sig->signer doesnt seem to get marked
in dnchangenever() and dnageall(), which would cause it to get
accidently freed unless its referenced somewhere else no?

--
cinap



^ permalink raw reply	[flat|nested] 71+ messages in thread
* [9fans] dns
@ 2012-08-21  1:51 Jeff Sickel
  2012-08-21  1:59 ` erik quanstrom
                   ` (2 more replies)
  0 siblings, 3 replies; 71+ messages in thread
From: Jeff Sickel @ 2012-08-21  1:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Has anyone else been seeing their Plan 9 dns servers work for a
little while and then stop responding?  I've seen this happen
after delegation loops show up in the logs:

Aug 20 00:24:10 delegation loop 68.23.115.in-addr.arpa ns        rev1.kornet.net ->  ns  H.ROOT-SERVERS.NET from 211.216.50.180
 and no answers
Aug 20 00:24:11 delegation loop 68.23.115.in-addr.arpa ns        rev1.kornet.net ->  ns  J.ROOT-SERVERS.NET from 211.216.50.170
Aug 20 00:24:11  and no answers
Aug 20 00:24:11 delegation loop 68.23.115.in-addr.arpa ns        rev1.kornet.net ->  ns  G.ROOT-SERVERS.NET from 211.216.50.180
Aug 20 00:24:11  and no answers
Aug 20 00:24:13 delegation loop 68.23.115.in-addr.arpa ns        rev1.kornet.net ->  ns  J.ROOT-SERVERS.NET from 211.216.50.170
Aug 20 00:24:13  and no answers
Aug 20 00:24:15 delegation loop 68.23.115.in-addr.arpa ns        rev1.kornet.net ->  ns  H.ROOT-SERVERS.NET from 211.216.50.180




^ permalink raw reply	[flat|nested] 71+ messages in thread
* [9fans] dns
@ 2007-08-15 19:26 erik quanstrom
  0 siblings, 0 replies; 71+ messages in thread
From: erik quanstrom @ 2007-08-15 19:26 UTC (permalink / raw)
  To: 9fans

the hack i posted yesterday only attacks a symptom.  the real problem is
queries like

	dennis      7141063    0:00   0:00   11148K Rendez   dns [reading outside reply from 10.128.1.22 for 190.73-94-123.dyn.dsl.cantv.net ip]

which for us is bogus, but could be valid in some cases, causes an infinite
lookup loop.  trying to make a special case for unroutable addresses is
probablly the wrong route.  (you might have an internal dns server or two
on an unrouteable address.)  i think, in fact, that any lookup on a set of
nameservers that are all unavailable will never complete.

- erik

p.s. it turns out that on most networks, ptr queries on *.168.192.in-addr.arpa
work just fine returning a negative rcode.  for us, our provider is dropping
these packets.  the ns is for 168.192.in-addr.arpa is 192.175.x.y.  i suspect that
someone's routing table has  has a 192.168/12 instead of a /16.


^ permalink raw reply	[flat|nested] 71+ messages in thread
* [9fans] dns
@ 2007-07-03 20:54 erik quanstrom
  2007-07-04 20:51 ` geoff
  0 siblings, 1 reply; 71+ messages in thread
From: erik quanstrom @ 2007-07-03 20:54 UTC (permalink / raw)
  To: 9fans

i realize this is apolitical and offtopic.  i apologize in advance.

geoff's improvements in dns are really quite nice.  dns appears do a good
job in the face of well-behaved servers, but there are some ill behaved ones
for popular sites that give me occasional fits.

for example, www.apple.com decided to disappear last evening.  i looked
into the problem and nserver*.apple.com were not reachable.  and the
reason the local nameserver didn't have www.apple.com cached is that
the ttl of www.apple.com is 60 seconds.

interestingly, a dsl modem we have here continued to resolve www.apple.com
during this time, though it also couldn't reach the nameserver.
it seems that the dsl modem's resolver or upstream cache was just
serving up a stale rr.

this is a common problem around here (esp.) for akadns-served sites
with very low ttls.  i'm thinking it would make sense to either
(in order of increasing preference andimplementation difficulty )

a)  ignore very short, but nonzero, ttls and make them at least 3600s.

b)  serve up stale rrs if a fresh answer isn't available up to some multiple
of the real ttl.

c) activly refresh the "most active" cache entries starting at 1/2 the ttl
and increasing in frequency until some mutiple of ttl has expired.

- erik


^ permalink raw reply	[flat|nested] 71+ messages in thread
* [9fans] dns
@ 2004-03-20  2:25 David Presotto
  0 siblings, 0 replies; 71+ messages in thread
From: David Presotto @ 2004-03-20  2:25 UTC (permalink / raw)
  To: 9fans

Fixed a problem in dns related to flush.  You should pick up new dns
source and rebuild it.


^ permalink raw reply	[flat|nested] 71+ messages in thread

end of thread, other threads:[~2017-04-03  7:06 UTC | newest]

Thread overview: 71+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-01  1:28 [9fans] DNS cinap_lenrek
2017-04-01  3:40 ` Skip Tavakkolian
2017-04-01  9:46   ` Alexandru Gheorghe
2017-04-01 17:04     ` Steve Simon
2017-04-03  7:06       ` David Arroyo
  -- strict thread matches above, loose matches on Subject: below --
2017-03-20  7:26 Skip Tavakkolian
2017-03-21 19:19 ` Skip Tavakkolian
2017-03-30 22:19   ` Steve Simon
2017-03-31  7:43   ` Peter Hull
2012-08-26 14:48 [9fans] dns cinap_lenrek
2012-08-21  1:51 Jeff Sickel
2012-08-21  1:59 ` erik quanstrom
2012-08-21  4:23 ` arisawa
2012-08-21  5:08   ` Jeff Sickel
2012-08-21  8:42     ` Kenji Arisawa
2012-08-21 11:27       ` cinap_lenrek
2012-08-21 12:18         ` Lucio De Re
2012-08-21 12:37         ` arisawa
2012-08-21 18:32         ` erik quanstrom
2012-08-21 20:05           ` Charles Forsyth
     [not found]           ` <CAOw7k5hALBex13jJUbscVt4th-Z9urpmAP0eOBi7b1HuBQESrw@mail.gmail.c>
2012-08-21 20:41             ` erik quanstrom
2012-08-21 22:44           ` cinap_lenrek
2012-08-22 10:32           ` cinap_lenrek
2012-08-22 12:09             ` Kenji Arisawa
2012-08-22 12:35               ` cinap_lenrek
2012-08-22 13:05                 ` erik quanstrom
2012-08-22 13:08                   ` erik quanstrom
2012-08-22 13:11                   ` Charles Forsyth
     [not found]                   ` <CAOw7k5gGhL-=E=V1C9ffQP7qMyUVMhtrgpzLMidnCsHFGDzHwA@mail.gmail.c>
2012-08-22 13:18                     ` erik quanstrom
2012-08-22 13:21                       ` Charles Forsyth
2012-08-22 13:31                       ` cinap_lenrek
2012-08-22 14:22                         ` erik quanstrom
2012-08-22 14:41                           ` Charles Forsyth
2012-08-22 14:47                           ` cinap_lenrek
2012-08-22 15:26                             ` erik quanstrom
2012-08-22 15:33                             ` erik quanstrom
2012-08-22 15:35                               ` erik quanstrom
     [not found]                             ` <CAOw7k5jOE0Bf13fXJ04dUF4vGniRTJ1LwEMV1Oqw=AFKg77boA@mail.gmail.com>
2012-08-22 16:05                               ` Charles Forsyth
2012-08-22 13:23                 ` Lucio De Re
2012-08-25  0:10         ` Kenji Arisawa
2012-08-25 10:54           ` cinap_lenrek
2012-08-25 12:37             ` Kenji Arisawa
2012-08-25 13:22               ` cinap_lenrek
2012-08-25 13:38                 ` cinap_lenrek
2012-08-25 13:41                 ` Charles Forsyth
2012-08-25 13:44                   ` cinap_lenrek
2012-08-27 22:44               ` arisawa
2012-08-28  1:45                 ` cinap_lenrek
2012-08-28  1:57                   ` erik quanstrom
2012-08-28  2:08                     ` cinap_lenrek
2012-08-28  4:03                       ` erik quanstrom
2012-09-08 17:37                         ` Skip Tavakkolian
2012-09-08 18:02                           ` cinap_lenrek
2012-09-08 18:18                           ` cinap_lenrek
2012-09-08 21:53                             ` Skip Tavakkolian
2012-09-08 22:27                               ` cinap_lenrek
2012-09-09  2:09                                 ` Charles Forsyth
2012-09-09  2:37                                   ` cinap_lenrek
2012-09-09  3:01                                     ` Charles Forsyth
     [not found]                                     ` <CAOw7k5jydN7wssxBEqTc6h9FtLErjkoyxyfuQZLgcBTZ-nRgiw@mail.gmail.c>
2012-09-09  4:26                                       ` erik quanstrom
2012-09-09  5:28                                         ` Skip Tavakkolian
2012-08-25 21:56           ` cinap_lenrek
2012-08-26 13:16             ` cinap_lenrek
2012-08-26 13:36               ` Charles Forsyth
2012-08-21  5:08 ` Benjamin Huntsman
2007-08-15 19:26 erik quanstrom
2007-07-03 20:54 erik quanstrom
2007-07-04 20:51 ` geoff
2007-07-04 21:18   ` erik quanstrom
2007-07-04 21:52     ` geoff
2004-03-20  2:25 David Presotto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).