[rescue] DNS on SunOS 4.1.4

Dave McGuire mcguire at neurotica.com
Mon Jan 13 21:01:23 EST 2025


On 1/12/25 09:15, silcreval via rescue wrote:
> One of the frustrations of SunOS 4.1.4 is getting DNS working. It 
> doesn't come out of the box, when you install it but it does have the 
> tools necessary to
> build a 'libc' that supports this.
> 
> I followed the instructions here
> 
> "https://gist.github.com/ajacocks/81421910d80383f8a7ac71515ee4b366#file-sunos4-dns-txt <https://gist.github.com/ajacocks/81421910d80383f8a7ac71515ee4b366#file-sunos4-dns-txt>"
> 
> and all worked as expected. I can now ping any domain name.
> 
> However, I noticed that this 'patch' seems to ignore /etc/hosts 
> completely once its working.
> 
> I tried setting
> 
> nameserver <IP address>
> options local=yes
> 
> in the resolv.conf
> 
> and that was ignored as well :D. If I remove the the resolv.conf file I 
> can ping anything in the /etc/hosts file, but DNS mapping disappears.
> 
> As this 'patch' seems standard practice - Sun left a folder you can 
> install which contains all the necessary make files to install the DNS 
> support, I wondered if anyone had fixed this, or if its just a glitch 
> I'm seeing?

   What we used to do "back in the day" is install a package called 
"resolv+".  It integrated the resolver library from BIND into libc.  It 
worked great.  I'll be doing that to the Sun systems at the museum 
sometime in the next couple of weeks.

             -Dave

-- 
Dave McGuire, AK4HZ
New Kensington, PA



More information about the rescue mailing list