Re: nslookup issues
The old socket code did something like int fd = socket(…); if (fd == -1) { error handling } if (fd < 100) { int newfd = fcntl(fd, F_DUPFD, 100); if (newfd == -1) { error handling
Re: nslookup issues
> On Sep 13, 2022, at 3:35 PM, Graham Clinch wrote: > > I suspect nrpe-ng is closing stdin before launching nslookup. > > > With mac homebrew's build of bind 9.18.6 and a bit of shell redirection to > close stdin, I get: > > --- > $ /opt/homebrew/bin/nslookup -version > nslookup 9.18.6 > >