How to add option60 into dhcp client?
I tried to run dhcpcd in a shell, and the -i option can add the option 60.
But how to call the dhcpcd in my app?
See also questions close to this topic
How to fetch ISP internet connection type using python?
My program has a requirement to dynamically adjust some parameters based on the internet connection type provided by the ISP.
For instance if the connection type is DHCP, my program will behave slightly differently and if it is PPPoE, it will behave otherwise.
But is there a way to fetch these details using Python?
A quick google search brings up ways to fetch details like public IP, hostname, etc. But no mention of connection type anywhere.
Any help is appreciated. Thanks! :)
PowerDNS Master Slave Configuration
I deployed 4 powerDNS instances. 2 in NJ (nj-ns1 and nj-ns2) and 2 others in LA (la-ns1 and la-ns2).
Configured pdns in pdns.conf as, nj-ns1 as master. nj-ns2 la-ns1 and la-ns2 as Slaves.
Each of the NS also run DHCP. The 2 NS in NJ only manage NJ host and 2 NS in LA only mange LA hosts. I configured DHCP to update DNS with the leases.
My question is, If I create a dns zone (called la.test) with la-ns1 as master ns, would dhcp in LA be able to add A records to it? even though it is not a "powerDNS master"? I am basically confused about the difference between setting Master in pdns.conf vs. on the zone itself.
Issue setting up Open vSwitch on GCE (DHCP client not working)
I am trying to simulate an on-premises solution on GCP. I am not able to bridge with the GCE NIC and get DHCP working on that.
I have isolated the issue and also successfully tests the similar thing on a sandboxed Vagrant (VirtualBox) setup.
Both approaches are scripted and available on the following repos: https://github.com/htssouza/ovs-gcp-issue