- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wildcard DNS A record
Hi,
I need to setup a wildcard domain to get an internal file hosting server running. How can i go about this? I am using the DNS server in Fortigate 101E. When i tried to put a * in the hostname field when creating an A record, the UI says it is an invalid domain.
Any help or guidance will be much appreciated. Thank you.
Nominate a Forum Post for Knowledge Article Creation
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes "*" is indeed an invalid domain since that would mean every domain in the whole world :)
I gues what you want is something like "any subdomain" of your domain.
I'd try to set this as FQDN...however I up to now never needed this on a FGT DNS so cannot say for sure..
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have same problem, how add all subdomains in one record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1st no such thing exist from a DNS RR for "wildcard" domain in our FortiOS appliances
2nd what specifically are you trying todo? And why do you think you need it ?
I seen alot of mis-use for . "wildcard" A record an it will screw up search engines.
just my 2cts
Ken
PCNSE
NSE
StrongSwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to make an A-record that will look at one IP from several sub-domains. For example *.example.com = 192.168.x.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem. It very serious problem for me. My case is:
We have 3 servers that dinamical generate web servers (Kubernetes-stand) for testing product. Each web-server has unique name (subdomain) an is located on one of three servers.
*.example.com 192.168.1.1
*.example.com 192.168.1.2
*.example.com 192.168.1.3
As a result, when I change the microtic to fortigate I can not send developers to the desired web server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Was there a resolution for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hm this is FortiOS specific behavior. Looks like Fortinet doesn't meet the DNS specs.
basically in a DNS Zone it is definitely allowed to set a wildcard
* IN A <ip> does always mean *.domain.tld (i.e. anything not matched by other A entries in the zone).
And no this does not mean any domain in the world as it is only valid in a zone. This means it is only valid for subdomains of 2nd level domain the zone is for.
Edit: looking at your screenshot again: you cannot enter a wildcard as host! What you want is the wildcard in the FQDN Field!
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The FQDN field is not editable. Wildcard is a valid host in most DNS platforms. Feels like an oversight when creating the DNS server module tbh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what is going here? Is there a solution? I also miss an option to insert a A record for the complete domain, not only the * option like for:
example.com 192.168.100.1