[01:08] I'm still running Ubuntu 18.04. :) [01:08] The last of a dying breed [20:18] i do FIPS things at work. Ubuntu Pro makes that easy. Dealing with 1 distro keeps me on ubuntu. [20:18] I’m trying to think of ways to resolve a name to an IP from cmdline in a restricted env. I would appreciate any ideas you have: [20:18] host cmd - not installed in env and pkg not available [20:18] dig cmd - same as host cmd [20:18] ping - same as host cmd [20:18] nslookup - same as host cmd [20:18] getent hosts - not exactly resolv only, but I used it anyway [20:18] call perl which is probably installed [20:18] call python - same as host cmd [20:18] busybox? [20:19] other? [20:21] Telnet to port 53? :) [20:43] it is difficult to write a DNS query and even more difficult to parse the response, else that would have been something I considered. [20:47] I know. I'm being slightly cheeky here [20:48] I mean, any language that has networking libraries will have something similar for doing DNS lookups [20:48] C, C++, etc. [20:48] Rust, [20:48] the 15,000 libraries that would make up a NodeJS DNS call [20:48] like some perverse fire-brigade [20:49] sure, but what is easiest? do the simplest thing that works. [21:20] busybox has nslookup in it [21:20] what do you have access to? === \subline is now known as \weakmayors [21:55] It is a fips ubuntu20 container where a lot of packages aren't available. e.g. I tried to install bind-utils or something to get host or dig, but they weren't there, hence the question.