[rescue] DNS on SunOS 4.1.4

silcreval silvercreekvalley at yahoo.com
Sun Jan 12 09:15:57 EST 2025


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"

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?

Thanks

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sunhelp.org/pipermail/rescue_sunhelp.org/attachments/20250112/b8578fef/attachment.html>


More information about the rescue mailing list