Re: DNS lookup utility with port

2016-07-01 Thread Stuart Henderson
On 2016-06-30, Kapetanakis Giannis wrote: > On 30/06/16 16:01, Stuart Henderson wrote: >> On 2016-06-30, Kapetanakis Giannis wrote: >>> Hi, >>> >>> a) I'm asking if there is any program in base for dns lookups that support >>> port for name server. >> >> Not in base, you will need packages. >>

Re: DNS lookup utility with port

2016-06-30 Thread Kapetanakis Giannis
On 30/06/16 21:11, Alexander Hall wrote: I guess you could play some games with pf(4) for a single occasion: # ifconfig lo0 127.0.0.2 alias # in pf.conf: set skip on none pass on lo pass on lo0 from any to 127.0.0.2 port 53 rdr-to 127.0.0.2 port 5678 (and maybe sth more I might be missing) /A

Re: DNS lookup utility with port

2016-06-30 Thread Alexander Hall
On Thu, Jun 30, 2016 at 01:01:58PM +, Stuart Henderson wrote: > On 2016-06-30, Kapetanakis Giannis wrote: > > Hi, > > > > a) I'm asking if there is any program in base for dns lookups that support > > port for name server. > > Not in base, you will need packages. I guess you could play some

Re: DNS lookup utility with port

2016-06-30 Thread Kapetanakis Giannis
On 30/06/16 16:16, Kapetanakis Giannis wrote: > understood and thanks for the reply. > > Would you think to add libldns/drill in base or is it out of question? > > G forget that I asked. Even linbldns seems abandoned an drill does not have what I need (apart from -p) dig from newer bind packa

Re: DNS lookup utility with port

2016-06-30 Thread Kapetanakis Giannis
On 30/06/16 16:01, Stuart Henderson wrote: > On 2016-06-30, Kapetanakis Giannis wrote: >> Hi, >> >> a) I'm asking if there is any program in base for dns lookups that support >> port for name server. > > Not in base, you will need packages. > >> b) would a patch for this in src/usr.sbin/bind/ b

Re: DNS lookup utility with port

2016-06-30 Thread Stuart Henderson
On 2016-06-30, Kapetanakis Giannis wrote: > Hi, > > a) I'm asking if there is any program in base for dns lookups that support > port for name server. Not in base, you will need packages. > b) would a patch for this in src/usr.sbin/bind/ be accepted or is > there a reason for this to be out (ex