60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
# GitHub相关域名解析
|
||
140.82.121.3 www.github.com
|
||
140.82.121.4 github.com
|
||
140.82.121.5 api.github.com
|
||
185.199.108.153 assets-cdn.github.com
|
||
140.82.121.6 collector.github.com
|
||
140.82.121.9 codeload.github.com
|
||
140.82.121.4 gist.github.com
|
||
185.199.108.133 raw.githubusercontent.com
|
||
|
||
# AWS服务
|
||
52.216.162.69 s3.amazonaws.com
|
||
|
||
# Google相关域名解析
|
||
142.250.4.147 www.google.com
|
||
142.250.4.139 google.com
|
||
142.250.4.95 ajax.googleapis.com
|
||
142.250.4.95 fonts.googleapis.com
|
||
|
||
# 百度相关域名解析
|
||
110.242.68.66 www.baidu.com
|
||
39.156.66.10 baidu.com
|
||
|
||
# 自定义端口示例
|
||
192.168.1.10:8080 custom-port-example.com
|
||
192.168.1.11:8443 api.custom-port-example.com
|
||
|
||
# 本地开发环境
|
||
127.0.0.1 localhost
|
||
127.0.0.1:3000 dev.example.com
|
||
127.0.0.1:3001 api.dev.example.com
|
||
127.0.0.1:5432 db.dev.example.com
|
||
|
||
# 基本格式:IP 域名 [端口]
|
||
192.168.1.100 example.com
|
||
192.168.1.101 api.example.com
|
||
192.168.1.102 test.example.com:8080
|
||
|
||
# 支持通配符域名
|
||
192.168.1.103 *.example.com
|
||
192.168.1.104 *.api.example.com
|
||
|
||
# 支持多个域名
|
||
192.168.1.105 app1.example.com app2.example.com app3.example.com
|
||
|
||
# 支持注释
|
||
# 开发环境
|
||
192.168.1.106 dev.example.com
|
||
# 测试环境
|
||
192.168.1.107 test.example.com
|
||
# 生产环境
|
||
192.168.1.108 prod.example.com
|
||
|
||
# 支持IPv6
|
||
2001:db8::1 ipv6.example.com
|
||
2001:db8::2 ipv6-api.example.com:8080
|
||
|
||
# 支持混合IPv4和IPv6
|
||
192.168.1.109 mixed.example.com
|
||
2001:db8::3 mixed.example.com |