std input to nsupdate

Kurt Boyack kboyack at gmail.com
Thu Nov 3 20:43:45 UTC 2005


On 11/3/05, Len Conrad <LConrad at go2france.com> wrote:
>
> Is there any sytnax to make this work as source for standard intput:
>
> echo "update delete node.domain.tld 60 in a 1.2.3.4" | nsupdate
>

You need a newline or send command. You can do this:

     echo "update delete node.domain.tld 60 a 1.2.3.4
     send" | nsupdate

or

     echo update delete node.domain.tld 60 a 1.2.3.4 > file
     echo send >> file
     nsupdate file


More information about the bind-users mailing list