/etc/resolv.conf redux

Jim Garrison jhg@acm.org
Wed Mar 26 17:37:05 GMT 2025


Referring to Referring to Brian Inglis's response in
https://cygwin.com/pipermail/cygwin/2024-February/255425.html

> I added a Cygwin postinstall script:
> 
> 	/etc/postinstall/0p_l_etc_resolv_conf.dash
> 
> to create resolv.conf from `ipconfig /all` DNS servers, an internal list of open 
> public DNS servers, and search domains, update:
> 
> 	/var/run/resolvconf/resolv.conf
> 
> when changed, and `ln -frsvt /etc/`, also run from a Scheduled Task on System 
> Restart.

The script seems to have disappeared in more recent iterations, and 
seems to have been explicitly removed.

   $ ls -1 /etc/postinstall/0p*
   /etc/postinstall/0p_000_autorebase.dash
   /etc/postinstall/0p_update-info-dir.dash

Was that a deliberate change?  Not complaining here, just asking, so I 
know to recreate resolv.conf if/when my delegated IPv6 prefix changes.

Thanks

-- 
Jim Garrison
jhg@acm.org



More information about the Cygwin mailing list