BIND 10 #167: review: configure addresses and ports to listen on for DNS servers
BIND 10 Development
do-not-reply at isc.org
Wed Jun 30 18:10:09 UTC 2010
#167: review: configure addresses and ports to listen on for DNS servers
----------------------+-----------------------------------------------------
Reporter: larissas | Owner: stephen
Type: task | Status: reviewing
Priority: major | Milestone: 05. 3rd Incremental Release: Serious Secondary
Component: b10-auth | Resolution:
Keywords: | Sensitive: 0
----------------------+-----------------------------------------------------
Changes (by each):
* owner: each => stephen
Comment:
> 1) Although the "if" blocks have been combined (in run_server), should
an address is given the code will still set the servers.xxx4_server
variables even if the address is an IPV6 address.
Oops. Good catch.
> 2) Entering an invalid port on the command line will result in the
output of the somewhat cryptic message "bad lexical cast: source type
value could not be interpreted as target". I would suggest that that
exception is caught and re-thrown with a more user-friendly message.
Done (but it was also validated in the bind10 python wrapper).
> 3) Something I missed in the original review is that the numeric port
number should be "unsigned short" all the way through the code (it is
currently declared as "short").
Addressed. OK to merge?
--
Ticket URL: <http://bind10.isc.org/ticket/167#comment:23>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list