add dhcp-client dns server to address list?

is there a way to add dhcp-client dns server to an address list?

Yes, you can do that.
You must write one script:

  1. read dhcp-client provided parameters;
  2. put on address-list.
/ip firewall address-list add list="dhcp_dns_list" address=[/ip dhcp-client get value-name=primary-dns ([/ip dhcp-client find where interface=ether8]->0)]

Missing some check, write yourself:

  1. dhcp client must use peer-dns;
  2. the dhcp server must provide one or two dns;
  3. must be run only when dhcp client are registered;
  4. do not remove previous values from the list;
  5. do not consider secondary-dns;
  6. If consider secondary-dns, check if the provider provide that;
  7. etc.

hmmm this is interesting, going to read the wiki about script this weekend :slight_smile: