… | |
… | |
250 | |
250 | |
251 | =item setseeds <host:port>,... |
251 | =item setseeds <host:port>,... |
252 | |
252 | |
253 | Sets or replaces the list of seeds, which must be specified as a |
253 | Sets or replaces the list of seeds, which must be specified as a |
254 | comma-separated list of C<host:port> pairs. The C<host> can be a hostname, |
254 | comma-separated list of C<host:port> pairs. The C<host> can be a hostname, |
255 | an IP address, or C<*> to signify all local host addresses. If the |
255 | an IP address, or C<*> to signify all local host addresses (which makes |
256 | C<:port> is omitted, then the default port of C<4040> is assumed. |
256 | little sense for seeds, outside some examples, but a lot of sense for |
|
|
257 | binds). |
257 | |
258 | |
258 | An empty list is allowed. |
259 | An empty list is allowed. |
259 | |
260 | |
260 | Example: use C<doomed> with default port as only seednode. |
261 | Example: use C<doomed> with default port as only seednode. |
261 | |
262 | |
… | |
… | |
286 | =over 4 |
287 | =over 4 |
287 | |
288 | |
288 | =item setbinds <host:port>,... |
289 | =item setbinds <host:port>,... |
289 | |
290 | |
290 | Sets the list of bind addresses explicitly - see the F<aemp setseeds> |
291 | Sets the list of bind addresses explicitly - see the F<aemp setseeds> |
291 | command for the exact syntax. In addition, a value of C<0> for the port |
292 | command for the exact syntax. In addition, a value of C<*> for the port, |
292 | means to use a dynamically-assigned port. |
293 | or not specifying a port, means to use a dynamically-assigned port. |
293 | |
294 | |
294 | Note that the C<*>, C<*:*> or C<*:port> values are very useful here. |
295 | Note that the C<*>, C<*:*> or C<*:port> patterns are very useful here. |
295 | |
296 | |
296 | Example: bind on the default port (4040) on all local interfaces. |
297 | Example: bind on a ephemeral port on all local interfaces. |
297 | |
298 | |
298 | aemp setbinds "*" |
299 | aemp setbinds "*" |
299 | |
300 | |
300 | Example: bind on a random port on all local interfaces. |
301 | Example: bind on a random port on all local interfaces. |
301 | |
302 | |
302 | aemp setbinds "*:*" |
303 | aemp setbinds "*:*" |
303 | |
304 | |
304 | Example: resolve "doomed.mydomain" and try to bind on port C<4040> of all |
305 | Example: resolve "doomed.mydomain" and try to bind on port C<4040> of all |
305 | IP addressess returned. |
306 | IP addressess returned. |
306 | |
307 | |
307 | aep setbinds doomed.mydomain |
308 | aep setbinds doomed.mydomain:4040 |
308 | |
309 | |
309 | =item delbinds |
310 | =item delbinds |
310 | |
311 | |
311 | Removes the bind list again, which means it is inherited again from it's |
312 | Removes the bind list again, which means it is inherited again from it's |
312 | parent profile, or stays unset. |
313 | parent profile, or stays unset. |