[APPROVE?] DNS test fixes
Jonathan Larmour
jifl@eCosCentric.com
Mon Mar 3 17:32:00 GMT 2003
The DNS tests use hard coded addresses that can't work anywhere outside of
the now dismantled Red Hat test farm. This is annoying for people using
the config tool to test.
So where possible we should use the info from BOOTP. This patch does that,
with an option of falling back to a hard-coded address which will likely
fail (arguably a good thing in that case).
This still isn't brilliant though as we lose the test for the FQDN being
correct, but I think it'll have to do.
We could probably do this better if there was some well known public DNS
server we could use that _didn't_ require recursion support in the client.
This is what most ISPs do, but those aren't public :-|. The root servers
are public but require recursion support. We could implement recursion
support but it would take a little while, and we'd probably want it to be
a config option anyway.
So I'll apply to trunk for sure... and is this okay for branch?
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dns.test.pat.txt
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20030303/428b9e80/attachment.txt>
More information about the Ecos-patches
mailing list