Red Hat Bugzilla – Bug 469259
[enh] enable domain names as gateway in routers table
Last modified: 2013-05-07 11:25:31 EDT
Description of problem:
1.domain name problem
Right-click on the icon -->edit connection -->ipv4 setting --->routers
just here,the content of gateway must be an IP address,but sometimes I needs a domain name here to put in .
2.another problem about saving the config:
Right-click on the icon -->edit connection -->ipv4 setting --->routers -->add
here,if you has already typed something into the box then do some window switching actions,the date you input will lost.It will not be saved.
Version-Release number of selected component (if applicable):
How reproducible&Steps to Reproduce:
Plesase referred to the Description of problem above
Bill: does the normal initscript stuff ifup-routes accept hostnames as route gateways?
Luo Bin: in what cases exactly do you need a domain name there?
Like some VPN services ,the gateway expressed in dynamic domain.
You can't assign a certain IP as a gateway because the IP resolving from the domain changes every time!
Dan, an older format we support is:
cat "$file" ; echo ; } | while read line; do
if <line is not blank or a comment> ; then
/sbin/ip route add $line
So, yes, that 'accepts' hostnames, if you can call it that.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
For a "normal" default gateway, it seems unsafe to use a hostname, because the DNS server could be off the local subnet and unreachable until the default gateway is set.
Changing title to reflect the enhancement request.
This bug has been triaged
Fedora Bugzappers volunteer triage team
If still interested, please file upstream.