markus 272c366e05 added djbdns patch provided by Johnny Halfmoon
removed dnsmasq.patch as the options were included upstream already.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@15612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-05 09:27:07 +00:00

10 lines
470 B
Bash

#!/bin/sh
# (c) Copyright 2003-2003 Jonathan de Boyne Pollard. All rights reserved. "Moral" rights asserted.
# Permission is hereby granted to distribute this script unmodified.
# This script requires the patch that changes the ${DNSCACHEIP} separator, which can be found at <URL:http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns.html>.
t=${1?Missing type}
n=${2?Missing name}
s=${3?Missing server}
i=`dnsip $s`
DNSCACHEIP=${i:?Bad server name} dnsqr $t $n