summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorStefan Hajnoczi2008-11-27 10:30:37 +0100
committerMichael Brown2009-01-27 20:26:12 +0100
commitd10a7e77392682115c623067ec9364605246e405 (patch)
treeee70cb50fbaf2759d04afd2e6f12232dd5b67b14 /src/include
parent[settings] Add fetch_string_setting_copy() (diff)
downloadipxe-d10a7e77392682115c623067ec9364605246e405.tar.gz
ipxe-d10a7e77392682115c623067ec9364605246e405.tar.xz
ipxe-d10a7e77392682115c623067ec9364605246e405.zip
[dns] Append local domain to relative names
Try to qualify relative names in the DNS resolver using the DHCP Domain Name. For example: DHCP Domain Name: etherboot.org (Relative) Name: www yields: www.etherboot.org Only names with no dots ('.') will be modified. A name with one or more dots is unchanged.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/gpxe/settings.h b/src/include/gpxe/settings.h
index e9f0bce59..60244d3a3 100644
--- a/src/include/gpxe/settings.h
+++ b/src/include/gpxe/settings.h
@@ -218,6 +218,7 @@ extern struct setting ip_setting __setting;
extern struct setting netmask_setting __setting;
extern struct setting gateway_setting __setting;
extern struct setting dns_setting __setting;
+extern struct setting domain_setting __setting;
extern struct setting hostname_setting __setting;
extern struct setting filename_setting __setting;
extern struct setting root_path_setting __setting;