projects
/
radsecproxy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
made example dynamic server srv record script also use port number
[radsecproxy.git]
/
dynsrv.sh
1
#! /bin/sh
2
srv=`host -t srv _radsec._tcp.$1`
3
host=`echo $srv|cut -d\ -f8`
4
port=`echo $srv|cut -d\ -f7`
5
echo "server $1-$host {"
6
echo " host $host"
7
echo " port $port"
8
echo "}"