[rescue] DNS on SunOS 4.1.4

silcreval silvercreekvalley at yahoo.com
Tue Jan 14 05:28:51 EST 2025


Todd - thanks for that - I'll give the mods a go.

Dave - would be great if you could share that.

One thing I struggled a bit with was getting an NFS share to work. I generally use a Raspberry Pi as a file server - mainly because it costs just about nothing to keep powered on - and have various shares on there including AppleTalk, Samba and NFS. 

I tried getting NFS 2 support running on the RPi but none of the config options worked. I'm guessing it would need some kernel magic to get enabled.

In the end I shared a clone of the drive from another Sun box running Solaris 7, and all worked fine. I'll figure out how to get the RPi to support NFS 2 one of these days...

- Ian


> On 14 Jan 2025, at 02:01, Dave McGuire via rescue <rescue at sunhelp.org> wrote:
> 
> 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
> 
> _______________________________________________
> rescue list - http://sunhelp.org/mailman/listinfo/rescue_sunhelp.org




More information about the rescue mailing list