Take a look at getdns package, service stubby inside. I think that is what are you looking for. I were unable to use GNOME's captive portal my way, I doubt it can be for this.
Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content. Content on this site is licensed under a CC-BY-SA 3.0 license.