summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/bin/dig/dig.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* reduce confusion about -p option. parse it, but only permit port 53, andtedu2016-06-051-3/+4
| | | | | | make it an error otherwise instead of a warning that may be overlooked. reported by Peter van Dijk ok deraadt
* exit() after perror() for pledge failure. Perhaps this got introducedderaadt2015-11-111-2/+6
| | | | | as a test idiom, either when pledge was young or during the transition to strings.... dunno
* pledge bind(1), dig(1), and nslookup(1). This modifies the underlyingderaadt2015-10-251-1/+10
| | | | | | | ISC library to use socket(2) with the SOCK_DNS flag. As a result, the port commands are disabled (such practice is rare in the wild these days, and pretty incompatible with the DNS vs regular socket concept in pledge..) ok bluhm phessler reyk, etc
* parse "nameserver [host]:port" syntax in /etc/resolv.confstsp2009-08-161-1/+1
| | | | ok deraadt@
* resolve conflictsjakob2007-12-091-96/+225
|
* resolve conflicts and regen configure scriptjakob2007-01-101-3/+3
|
* fgets(3) returns NULL on error, not 0. No functional change, but it makescloder2006-10-101-3/+3
| | | | | the code easier to read. OK deraadt
* resolve conflictsjakob2006-04-051-34/+6
|
* Do this correctly, and silence a sign comparison warning.cloder2005-04-141-1/+1
|
* Check snprintf for truncation and failure. From Han Boetes (thanks).cloder2005-04-141-2/+2
|
* resolve conflictsjakob2005-03-221-20/+45
|
* resolve conflictsjakob2004-09-281-139/+380
|
* update to BIND v9.2.3. ok todd@jakob2003-11-181-11/+14
|
* string cleaning; "Put it in. If it breaks, tough" Theo.todd2003-06-271-12/+7
| | | | work by me, useful feedback from krw, jakob, tedu, and tholo
* more snprintf and strlcpy/strlcat fixes. from todd@ and tedu@.jakob2003-04-231-2/+2
|
* add option to force IPv4/IPv6jakob2003-01-201-0/+14
|
* ISC BIND version 9.2.2rc1jakob2003-01-201-0/+1405