Shane Kerr
d733113e25
Allow user to specify port to connect on.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@236 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:37:51 +00:00
JINMEI Tatuya
c7c9915114
a quick hack to get socket from a session object
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@235 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:37:04 +00:00
Jelte Jansen
0823b0212a
add boost/iterator as well
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@234 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:31:49 +00:00
Jelte Jansen
d1e366fa89
save database on every change
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@233 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:31:37 +00:00
JINMEI Tatuya
bd2469e99d
quickly ported the cc library from the experiments branch
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@232 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:28:17 +00:00
Jelte Jansen
24445dcc33
update boost import script; added missing library parts
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@231 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:19:48 +00:00
Likun Zhang
9fb2d5bb2f
Add command "boss shutdown"
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@230 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:18:12 +00:00
JINMEI Tatuya
60f2b2c298
allowed the user to specify the value of PYTHON_EXEC
...
e.g. % PYTHON_EXEC=python3.1 sh run_bigtool
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@229 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 16:59:59 +00:00
Shane Kerr
4c54d5231a
Add class to track process information.
...
Restart killed processes.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@228 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 16:42:16 +00:00
JINMEI Tatuya
0be9ea5067
fixed rcode for the authors.bind response (nxdomain to noerror)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@227 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 06:15:07 +00:00
JINMEI Tatuya
3b30440070
s/==/=/
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@226 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 06:13:48 +00:00
Evan Hunt
69081b0d8f
add SOA record to authority section on NXDOMAIN
...
(checkpoint. this actually doesn't work yet, it seems
the SOA::copy() routine is failing somehow...)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@223 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 04:11:45 +00:00
JINMEI Tatuya
69c0bc983a
added some getters for MX
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@221 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 01:33:57 +00:00
Jeremy C. Reed
40b1034693
Remove NOTE, as they are supported now.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@220 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 01:28:35 +00:00
Jeremy C. Reed
ec8bfa7e24
Remove my MX comments. It works now.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@219 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 01:26:14 +00:00
JINMEI Tatuya
bcfa14e582
supported MX RR
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@218 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 01:24:29 +00:00
JINMEI Tatuya
cae7244078
supported authors.bind.
...
PLEASE add an RR for your name in the answer section!
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@216 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 01:09:40 +00:00
Likun Zhang
7529cf9ce5
1. Remove some unused path for BigTool.
...
2. Fix bug: can't parse the commands which don't have paramters correctly.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@213 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 00:45:09 +00:00
JINMEI Tatuya
a45fffd3bf
supported SOA RR
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@212 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 00:41:57 +00:00
Evan Hunt
d9df2fbfe3
more little functions, fewer big ones
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@211 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 00:41:55 +00:00
Jelte Jansen
537ddbf8cd
include boost headers (all base ones, and asio; don't know if asio needs more than just the headers though)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@210 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 00:32:12 +00:00
Evan Hunt
c10df422e3
better zoneset type
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@209 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 00:26:24 +00:00
Jelte Jansen
4249f00921
script to import boost (will currently include about 12meg of headers, will include next)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@208 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 00:18:14 +00:00
Evan Hunt
11a536115f
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@207 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 00:04:11 +00:00
Shane Kerr
574c8870f9
Tell parking lot which port to use.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@206 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 23:50:49 +00:00
JINMEI Tatuya
9c2efb9ae0
minor style fix: treat "xxx" as std::string, not char *
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@205 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 23:41:55 +00:00
Jeremy C. Reed
1a4f7fa8b0
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.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@204 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 23:41:20 +00:00
Jeremy C. Reed
75eb1a483e
AAAA not working for now so added print of type to show that.
...
Also added some comments todo.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@203 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 23:36:46 +00:00
JINMEI Tatuya
5e96173c5a
partially supported fromWire() rdata (A/AAA/NS only).
...
now allowed parsing a full DNS message.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@202 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 23:33:49 +00:00
Evan Hunt
35eba18bfb
add stdarg.h
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@201 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 23:26:58 +00:00
Shane Kerr
c44cf86a43
Start parking lot. Make abnormal shutdown a bit nicer.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@200 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 23:22:36 +00:00
Likun Zhang
c9651bb45e
When C-Channel isn't started up, make BigTool exit directly.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@199 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:57:59 +00:00
Jelte Jansen
a412e1a3ab
listen to shutdown command
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@198 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:54:35 +00:00
Shane Kerr
e84348f129
Now starting configuration manager
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@197 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:48:08 +00:00
Shane Kerr
6b12ced9b0
Turn on REUSEADDRESS (only useful for debugging, but still...)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@196 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:28:58 +00:00
Evan Hunt
b15f4f0877
updated to use new message API feature, addRR() insetad of addRRset()
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@195 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:22:31 +00:00
Shane Kerr
346a952d84
Remove unnecessary PYTHONPATH specifications
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@192 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:20:25 +00:00
Jeremy C. Reed
2ff62929e9
include <sys/time.h> for gettimeofday(2)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@188 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:10:55 +00:00
Evan Hunt
a2ffee3418
parkinglot server sort of works now...
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@187 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:10:32 +00:00
Likun Zhang
25ccb97afb
Add code for BigTool
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@186 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:10:22 +00:00
Jeremy C. Reed
296add2d15
Add some TODO comments as reminder to behave like host(1).
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@185 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:07:33 +00:00
Jeremy C. Reed
df0d726038
Add elapsed time when verbose (which is my default for now).
...
Update usage statement.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@182 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 22:04:22 +00:00
Jeremy C. Reed
75c744f2e2
disclaimer :)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@181 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 21:51:26 +00:00
Kazunori Fujiwara
5a55b7f27d
An example statistics respondent accepts two command:
...
"statistics" group "getstat"
"Boss" group "shutdown"
An example statistics collector send "getstat" command to "statistics" group.
It also accepts "Boss" group "shutdown" command.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@179 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 21:51:12 +00:00
Jeremy C. Reed
39f3bac63e
Add src/bin/host as part of the build.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@178 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 21:49:27 +00:00
Jeremy C. Reed
e22dccda66
Add some more details.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@177 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 21:45:30 +00:00
Jeremy C. Reed
d609450550
Add simple Makefile.am.
...
(Need to commit for configure.ac and parent Makefile.am also.)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@176 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 21:43:40 +00:00
Jeremy C. Reed
0248899076
Fix include headers to add dns/
...
(to use automake)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@175 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 21:42:55 +00:00
Jeremy C. Reed
dc0fe08ec9
Don't set default lookup type, so will do A, AAAA, MX (MX not done in lib yet).
...
Fix verbose output to mimic host(1) more.
Move lookup functionality to own function.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@174 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 21:34:05 +00:00
Jelte Jansen
be46966ea4
save config data on SIGINT and SIGTERM
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@173 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 21:27:30 +00:00