[svn] commit: r204 - /branches/f2f200910/src/bin/host/host.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Oct 29 23:41:21 UTC 2009
Author: jreed
Date: Thu Oct 29 23:41:20 2009
New Revision: 204
Log:
Remove extra newline.
Also do the MX lookup and print a warning. It will core dump as is not
supported yet, but keeping this here for testing.
Modified:
branches/f2f200910/src/bin/host/host.cc
Modified: branches/f2f200910/src/bin/host/host.cc
==============================================================================
--- branches/f2f200910/src/bin/host/host.cc (original)
+++ branches/f2f200910/src/bin/host/host.cc Thu Oct 29 23:41:20 2009
@@ -110,7 +110,7 @@
// Host hsdjkfhksjhdfkj not found: 3(NXDOMAIN)
// TODO: figure out the new libdns way to test if NXDOMAIN
- std::cout << "\nReceived " <<
+ std::cout << "Received " <<
boost::lexical_cast<string>(rmsg.getBuffer().getSize()) <<
" bytes in " << elapsed_time << " ms\n";
// TODO: " bytes from 127.0.0.1#53 in 0 ms
@@ -138,9 +138,10 @@
if (!dns_type) {
host_lookup(argv[1], "A");
-// TODO: don't do next if doesn't exist
+// TODO: don't do next if A doesn't exist
host_lookup(argv[1], "AAAA");
-// host_lookup(argv[1], "MX");
+cout << "THE FOLLOWING 'MX' WILL FAIL UNTIL SUPPORTED. KEEPING HERE FOR TESTING.\n";
+ host_lookup(argv[1], "MX");
// No MX yet
// terminate called after throwing an instance of 'isc::dns::DNSInvalidRRType'
}
More information about the bind10-changes
mailing list