I just installed a new VM, and looked in the resolve.conf file , in order to check on some issues related to DNS resolution.
$ more /etc/resolv.conf ; generated by /sbin/dhclient-script search uchc.edu nameserver 10.3.8.10 nameserver 10.3.8.12 nameserver 188.8.131.52
I noticed that , somehow, the resolv.conf is smart enough to add the "search uchc.edu" line, which is appropriate. I always assumed that our networking folks edited startup files for us... But now, I'm realizing that maybe there is some sophisticated logic to how the resolv.conf get auto created by the OS networking utilities on startup.
So my question is : How is it that resolv.conf is first initialized in linux ? Are there specific programs that run in the kernel that set the parameters for resolv.conf ?
Thanks! And please forgive my ignorance - im more of a software developer than a systems guy.... but im trying to catch up.