Re: [OpenIndiana-discuss] DNS server and domain from DHCP?

2023-12-20 Thread Gary Mills
On Tue, Dec 19, 2023 at 06:32:13PM +, Philip Kime wrote: > * Where can I find the dns server and domain settings in SMF? I >tried looking in dns/client but I can't see config/nameserver >property in there. You first have to decide if you want the domain name mapping to IP address to b

Re: [OpenIndiana-discuss] DNS server and domain from DHCP?

2023-12-20 Thread Bill Sommerfeld via openindiana-discuss
Autoconfiguration of /etc/resolv.conf on illumos could really use some attention and modernization - besides the glitch you noticed, there is also currently no way to automatically use ipv6 nameserver addresses either from DHCPv6 or IPv6 stateless address autoconfig. Funnelling the settings th

Re: [OpenIndiana-discuss] DNS server and domain from DHCP?

2023-12-20 Thread Philip Kime
Strangely, after another reboot, /etc/resolv.conf now contains the domain and nameserver from DHCP ... PK -- Dr Phil. Philip Kime BA (Hons) Msc (Dist) PhD > On 19 Dec 2023, at 21:09, Joshua M. Clulow via openindiana-discuss > wrote: > > On Tue, 19 Dec 2023 at 11:14, Peter Tribble wrote: >> O

Re: [OpenIndiana-discuss] DNS server and domain from DHCP?

2023-12-19 Thread Philip Kime
I used ipadm to set up the dhcp connection: root@park:~# svcs network/physical STATE STIMEFMRI online Dec_18 svc:/network/physical:nwam offlineDec_18 svc:/network/physical:default I manually set the DNS server several years ago, can't remember how. Now I need to

Re: [OpenIndiana-discuss] DNS server and domain from DHCP?

2023-12-19 Thread Joshua M. Clulow via openindiana-discuss
On Tue, 19 Dec 2023 at 11:14, Peter Tribble wrote: > On Tue, Dec 19, 2023 at 6:33 PM Philip Kime wrote: > > I have used ipadm to configure an interface via DHCP, which works find. > > However, the DHCP server also provide the DNS server and default domain > > which was not being set on my server.

Re: [OpenIndiana-discuss] DNS server and domain from DHCP?

2023-12-19 Thread Peter Tribble
Hi, On Tue, Dec 19, 2023 at 6:33 PM Philip Kime wrote: > I have used ipadm to configure an interface via DHCP, which works find. > However, the DHCP server also provide the DNS server and default domain > which was not being set on my server. I found that I had entries in > /etc/resolv.conf whic

[OpenIndiana-discuss] DNS server and domain from DHCP?

2023-12-19 Thread Philip Kime
I have used ipadm to configure an interface via DHCP, which works find. However, the DHCP server also provide the DNS server and default domain which was not being set on my server. I found that I had entries in /etc/resolv.conf which seem to be set by SMF and are repopulated after reboot. Two q