Amos Jeffries wrote:

safe_free happily accepts NULLs.. hence the name safe_...
I forget exactly why it was there. Likely a crash when it was non-NULL when it should have been NULL. Fixed now anyway.

Current CVS (checkout two minutes ago at 11.35pm GMT) is pretty much broken again regarding the internal DNS. Pages don't open when you hit a CNAME and I get frequent errors like

2008/01/12 00:33:12| ipcacheParse: No Address records in response to 'www.hp.com' 2008/01/12 00:33:37| ipcacheParse: No Address records in response to 'welcome.hp-ww.com' 2008/01/12 00:36:15| ipcacheParse: No Address records in response to 'www.google-analytics.com'

in the cache.log. It looks like DNS times out a couple of times. Debugging section 14 does not give more results. The query

00:41:59.075658 IP 83.170.1.240.36282 > 83.170.1.240.53: 37174+ AAAA? www.hp.com. (28) 00:41:59.075913 IP 83.170.1.240.53 > 83.170.1.240.36282: 37174 1/1/0 CNAME www.hpgtm.nsatc.net. (116)

is repeated several times. This only seems to happen when you hit a CNAME on an IPv4-only host, CNAME to dual-stacked or IPv4-only with an address directly associated to the hostname works.

Sigh, thats so weird.

Sorry the proper debug options to trace this are:
   debug_options ALL,0 14,9 78,9


It's working perfectly here. On those same domains too.

Found out it breaks when you set

dns_v4_fallback         no

in the config. If you do, the debugging output is

2008/01/12 14:54:53.740| ipcache_nbgethostbyname: Name 'welcome.hp-ww.com'.
2008/01/12 14:54:53.740| ipcache_nbgethostbyname: MISS for 'welcome.hp-ww.com' 2008/01/12 14:54:53.740| idnsALookup: buf is 35 bytes for welcome.hp-ww.com, id = 0xa75e
2008/01/12 14:54:53.925| idnsRead: starting with FD 7
2008/01/12 14:54:53.925| idnsRead: FD 7: received 142 bytes from 83.170.1.240:53
2008/01/12 14:54:53.925| idnsGrokReply: ID 0xa75e, 1 answers
2008/01/12 14:54:53.925| dns_internal.cc(1075) idnsGrokReply: Sending 1 DNS results to caller. 2008/01/12 14:54:53.925| ipcacheParse: No Address records in response to 'welcome.hp-ww.com'
2008/01/12 14:55:01.223| ipcache_purgelru: removed 0 entries
2008/01/12 14:55:11.235| ipcache_purgelru: removed 0 entries
2008/01/12 14:55:21.250| ipcache_purgelru: removed 0 entries

If you don't do it it works, but at least back when you added it it was desperately needed.

Regards,
Bernhard

Reply via email to