Abe*_*bel 13 networking domain-name-system subdomain
如果你有很多的子域名,如xxx.example.com
,xyz.example.com
等,你可以通过在DNS使用* .example.com的通配符A记录解决这些通过服务器端脚本或其他手段。
如何确定是否为任何给定域名配置了通配符域?使用http://network-tools.com提供了很多信息,但没有透露这一点。如果我需要使用命令行工具:我使用 Windows。我认为,使用通配符域 DNS 的一个示例是 blogspot.com。
BMD*_*Dan 20
你可以从字面上查询“* .example.com的”,并找出是否有是一个通配符,但它是不可能告诉这两个区域之间的区别:
xyz.example.com. IN A 1.2.3.4
*.example.com. IN A 1.2.3.4
Run Code Online (Sandbox Code Playgroud)
和
*.example.com. IN A 1.2.3.4
Run Code Online (Sandbox Code Playgroud)
即,对于给定的查询,您无法确定是否通过通配符回答了您,只有通配符存在。
我还没有找到任何支持它的可通过网络访问的眼镜,因为他们似乎认为这是无效的输入,但是 raw dig(甚至 Windows 上的 nslookup)就像一个魅力:
c:\Some\User> nslookup
> *.my-test-domain.com
Server: Wireless_Broadband_Router.home
Address: 192.168.1.1
Non-authoritative answer:
Name: *.my-test-domain-is-not-a-real-domain.com
Address: 1.2.3.4
Run Code Online (Sandbox Code Playgroud)
或者用挖掘:
# dig +short '*.not-a-real-domain.com'
1.2.3.4
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
10901 次 |
最近记录: |