Tom Hendrikx
2013-Jan-31 15:38 UTC
[nsd-users] nsd4.0.0beta3: nsd-control accepts junk input
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Just ran into this fun issue: after running "nsd-control addzone echo example.tld patternname" (note the falsely inserted 'echo'), no warning is raised, and the zonelist file contains: # NSD zone list # name pattern add echo example.tld patternname which again results in a lot of errors in the log file: 2013-01-31T16:23:35+01:00 julie nsd[25108]: xfrd: zone echo example.tld received error code SERVER NOT AUTHORITATIVE FOR ZONE from 217.149.195.119 2013-01-31T16:23:35+01:00 julie nsd[25108]: xfrd: zone echo example.tld bad transfer 0 from 217.149.195.119 I'm not sure whether spaces are allowed in idn zones or other vanity RFCs, but I'd prefer to quote a domain name with spaces, when I really intend to use it :) - -- Tom -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRCo/fAAoJEJPfMZ19VO/14B4P/1gNfcMMnYQR7lRt2+y381GB nlV01bu+OGx3PU2TdsMEuWBP5V++43TWvZrG3FrbcwWqcH/Z1+y8rMe1NGMprJif SHXpBCRxfVO97XQztSx2a2NICLApfeK9bWV9Y7evPU7SuoADQ60UOOhlFuNhWRbz ZKUS+dSLcIozegyINx4sTpCTFaUT1WH5BksvGGBLZV8udexd3r1BDYJxzN0JfCuK Td4yktKiPJ4krE9iw2JJm4DY/m8BlaEi1vSQ/0NlogTIz0eNmh1pf9HgTTZye0P7 vvE0lOGm7GWOqKQav5FZazOOgiE31YJ1o0MfNMcEwPjs3fYlhxf7xqnUR4aTih3F oUpWD9Gkd+rDhYW7IQpZhxMCXnkPpioOwdj50B507OAhkVmcnkJk6TviIaOltV7o h3j7G66gJXdorppZQcmdyojyykWfta/RGG5HyTUYhBg1wwcbpnZ6017HEtVpYglz j69B7L9Z1lfL5VSr9HTRe5KgK48sBis1kbT5CM3YnEm4+m0dk1ES0VGRhjxVjEUO H6fYRCb02bBLgpYOw1vAmWaf/qeici+cFJ9Eo8udIRpiQEEpwwSjhiKP2SnOV1N2 tZd4lTUIc2lQzZwP4Zym4oRmamGr/01TbxFw4evjT9S3RLrACm5z9Pu6r2rmm2vS O5fF4MsbJgax9V1vJsJC =0jar -----END PGP SIGNATURE-----
W.C.A. Wijngaards
2013-Feb-01 13:59 UTC
[nsd-users] nsd4.0.0beta3: nsd-control accepts junk input
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Tom, On 01/31/2013 04:38 PM, Tom Hendrikx wrote:> Hi, > > Just ran into this fun issue: after running "nsd-control addzone > echo example.tld patternname" (note the falsely inserted 'echo'), > no warning is raised, and the zonelist file contains:Yes it allows for whitespace in the zone name (but not the pattern name).> # NSD zone list # name pattern add echo example.tld patternname > > which again results in a lot of errors in the log file: > > 2013-01-31T16:23:35+01:00 julie nsd[25108]: xfrd: zone echo > example.tld received error code SERVER NOT AUTHORITATIVE FOR ZONE > from 217.149.195.119 2013-01-31T16:23:35+01:00 julie nsd[25108]: > xfrd: zone echo example.tld bad transfer 0 from 217.149.195.119 > > I'm not sure whether spaces are allowed in idn zones or other > vanity RFCs, but I'd prefer to quote a domain name with spaces, > when I really intend to use it :)No such RFCs. Can I label this a feature, or should NSD reject zone names with spaces in them? quotes and stuff gets removed by the shell. Best regards, Wouter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRC8pEAAoJEJ9vHC1+BF+Nn/gP+wZn8uqDMW8nV43LL5cIUWJm RJh9kHQFDJsv0+e7hnbM/rmr2gZmTOoVLMvYtaeo70rosGTfMqfSw7jPKmX4HM11 l+b/cHjECpD0J7uZk972pc8zNj2aE7BesG6gFwfqTNKXI+31Teyq8ZLwMw/D/CDq /7BVBMAxEKgRY8G+TuTRc4zFHSSpMM00JwEfQR1Q2UZ46DDoUuCDycA5y3blVj1G 9lm9J20Wshe9RB6dA7ItpXN4fIVOtHFJH63YBHoSmqPTFCLOmALpnlEw9AzBEqs/ HvoQ1NobMeo3o8Y/MX3ZbDRXBs5CcRf/l4x5ZwCsNzjgtzrH2zsynb12nKwkZNgM a9zTmV9qpprGK2RGFE88laJICBl3olSlTm+xGYEdEX9ACF0Xux+GlhZIPlLGZSGN IPOrmrDJYFxcwvnREeowLXPfYXaXB/hX3cJDqg6Ytu2+mqmQMolHgZDMiUouL+fB S9neEyyQdF2oQkRK8wwQJCZKoobEdscZLy7htnVXg9ZdipgXpmZ9nydKLe+YWtp1 05egRQYCPAlD0b8m6xg8w6VQj37PTvSXt7zgc1lMccCgP25e4pCzSTyIbL0ORwT7 AZFFt78ngQx9rM6Sd0jzjWp2w1grE9rhcROi9JnKJGntLYgbgB8MDDENuqJONVxW LzswEYLOJIxBCOaOXXe9 =hFuI -----END PGP SIGNATURE-----