README 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. BUILDING
  2. Simple build instructions:
  3. autoreconf
  4. ./configure
  5. make
  6. RUNNING
  7. At the moment there is no install yet, you can run the bind10 parkinglot
  8. server from the source tree:
  9. ./src/bin/bind10/bind10
  10. The server will listen on port 5300 for DNS requests.
  11. CONFIGURATION
  12. Commands can be given through the tool bigtool;
  13. cd src/bin/bigtool
  14. sh run_bigtool
  15. The server must be running for bigtool to work.
  16. The following configuration commands are available
  17. help: show the different command modules
  18. <module> help: show the commands for module
  19. <module> <command> help: show info for the command
  20. config show [identifier]: Show the currently set values. If no identifier is
  21. given, the current location is used. If a config
  22. option is a list or a map, the value is not
  23. shown directly, but must be requested separately.
  24. config go [identifier]: Go to the given location within the configuration.
  25. config set [identifier] <value>: Set a configuration value.
  26. config unset [identifier]: Remove a value (reverts to default if the option
  27. is mandatory).
  28. config add [identifier] <value>: add a value to a list
  29. config remove [identifier] <value>: remove a value from a list
  30. config revert: Revert all changes that have not been committed
  31. config commit: Commit all changes
  32. EXAMPLE SESSION
  33. ~> sh run_bigtool
  34. > config show
  35. ParkingLot/ module
  36. > config show ParkingLot/
  37. port: 5300 integer (default)
  38. zones/ list
  39. a_records/ list (default)
  40. aaaa_records/ list (default)
  41. ns_records/ list (default)
  42. > config go ParkingLot/
  43. /ParkingLot> config show
  44. port: 5300 integer (default)
  45. zones/ list
  46. a_records/ list (default)
  47. aaaa_records/ list (default)
  48. ns_records/ list (default)
  49. /ParkingLot> config show zones
  50. /ParkingLot> config add zone tjeb.nl
  51. Error: /ParkingLot/zone not found
  52. /ParkingLot> config add zones tjeb.nl
  53. /ParkingLot> config show zones
  54. zone_name: tjeb.nl string
  55. /ParkingLot> config show
  56. port: 5300 integer (default)
  57. zones/ list (modified)
  58. a_records/ list (default)
  59. aaaa_records/ list (default)
  60. ns_records/ list (default)
  61. /ParkingLot> config go /
  62. > config show ParkingLot/port
  63. port: 5300 integer (default)
  64. > config go ParkingLot/a_records/
  65. /ParkingLot/a_records> config show
  66. address: 127.0.0.1 string
  67. /ParkingLot/a_records> config add "127.0.0.2"
  68. /ParkingLot/a_records> config show
  69. address: 127.0.0.2 string
  70. /ParkingLot/a_records>