凶狠的啤酒/p> 凶狠的啤酒p>Preface凶狠的啤酒/p> 凶狠的啤酒p>I am host" /> 凶狠的啤酒/p> 凶狠的啤酒p>Preface凶狠的啤酒/p> 凶狠的啤酒p>I am host" />
首页 > 编程知识 正文

za解压无权访问data,什么是虚拟局域网

时间:2023-05-05 11:22:30 阅读:114937 作者:3368

凶狠的啤酒p align="center">凶狠的啤酒/p> 凶狠的啤酒p>Preface凶狠的啤酒/p> 凶狠的啤酒p>I am hosting a web server and DNS server on the same box over a home network. The external IP is dynamic. To handle this, I use a paid service called no-ip.com to automatically update the IP of mydnsserver.com (let's say external IP is 11.22.33.444). I want to use mydnsserver.com to resolve mywebsite.com (and any other websites later on) so that all external connections to mywebsite.com will be handled by Apache.凶狠的啤酒/p> 凶狠的啤酒p>Problem凶狠的啤酒/p> 凶狠的啤酒p>The problem that I am having and can't find a solution to is that when I visit mywebsite.com on my phone (external connection), my browser resolves to localhost. I need the domain to resolve (both internal to the server and externally) to Apache running on mydnsserver.com so that the website will be rendered from my server. I want to do this without having to enter the IP address of the server for the A record.凶狠的啤酒/p> 凶狠的啤酒p丰富的汉堡 Settings (Godaddy)凶狠的啤酒/p> 凶狠的啤酒p>mywebsite.com nameserver settings凶狠的啤酒/p> 凶狠的啤酒p>ns.mydnsserver.com凶狠的啤酒/p> 凶狠的啤酒p>ns2.mydnsserver.com凶狠的啤酒/p> 凶狠的啤酒p>mydnsserver.com nameserver settings凶狠的啤酒/p> 凶狠的啤酒p>ns1.no-ip.com凶狠的啤酒/p> 凶狠的啤酒p>ns2.no-ip.com凶狠的啤酒/p> 凶狠的啤酒p>ns3.no-ip.com凶狠的啤酒/p> 凶狠的啤酒p>ns4.no-ip.com凶狠的啤酒/p> 凶狠的啤酒p>ns5.no-ip.com凶狠的啤酒/p> 凶狠的啤酒p>Resolve Config凶狠的啤酒/p> 凶狠的啤酒p>/etc/resolve.conf凶狠的啤酒/p> 凶狠的啤酒p>domain mywebsite.com凶狠的啤酒/p> 凶狠的啤酒p>search mywebsite.com凶狠的啤酒/p> 凶狠的啤酒p>nameserver 127.0.0.1凶狠的啤酒/p> 凶狠的啤酒p>Bind9 Config凶狠的啤酒/p> 凶狠的啤酒p>/etc/bind/named.conf凶狠的啤酒/p> 凶狠的啤酒p>include "/etc/bind/named.conf.options";凶狠的啤酒/p> 凶狠的啤酒p>include "/etc/bind/named.conf.local";凶狠的啤酒/p> 凶狠的啤酒p>include "/etc/bind/named.conf.default-zones";凶狠的啤酒/p> 凶狠的啤酒p>/etc/bind/named.conf.options凶狠的啤酒/p> 凶狠的啤酒p>options {凶狠的啤酒/p> 凶狠的啤酒p>directory "/var/cache/bind";凶狠的啤酒/p> 凶狠的啤酒p>dnssec-validation auto;凶狠的啤酒/p> 凶狠的啤酒p>auth-nxdomain no;凶狠的啤酒/p> 凶狠的啤酒p>listen-on-v6 { any; };凶狠的啤酒/p> 凶狠的啤酒p>listen-on port 53 { any; };凶狠的啤酒/p> 凶狠的啤酒p>};凶狠的啤酒/p> 凶狠的啤酒p>/etc/bind/named.conf.default-zones凶狠的啤酒/p> 凶狠的啤酒p>zone "." {凶狠的啤酒/p> 凶狠的啤酒p>type hint;凶狠的啤酒/p> 凶狠的啤酒p>file "/etc/bind/db.root";凶狠的啤酒/p> 凶狠的啤酒p>};凶狠的啤酒/p> 凶狠的啤酒p>zone "mywebsite.com" {凶狠的啤酒/p> 凶狠的啤酒p>type master;凶狠的啤酒/p> 凶狠的啤酒p>file "/etc/bind/zones/mywebsite.zone";凶狠的啤酒/p> 凶狠的啤酒p>};凶狠的啤酒/p> 凶狠的啤酒p>zone "localhost" {凶狠的啤酒/p> 凶狠的啤酒p>type master;凶狠的啤酒/p> 凶狠的啤酒p>file "/etc/bind/db.local";凶狠的啤酒/p> 凶狠的啤酒p>};凶狠的啤酒/p> 凶狠的啤酒p>zone "127.in-addr.arpa" {凶狠的啤酒/p> 凶狠的啤酒p>type master;凶狠的啤酒/p> 凶狠的啤酒p>file "/etc/bind/db.127";凶狠的啤酒/p> 凶狠的啤酒p>};凶狠的啤酒/p> 凶狠的啤酒p>zone "0.in-addr.arpa" {凶狠的啤酒/p> 凶狠的啤酒p>type master;凶狠的啤酒/p> 凶狠的啤酒p>file "/etc/bind/db.0";凶狠的啤酒/p> 凶狠的啤酒p>};凶狠的啤酒/p> 凶狠的啤酒p>zone "255.in-addr.arpa" {凶狠的啤酒/p> 凶狠的啤酒p>type master;凶狠的啤酒/p> 凶狠的啤酒p>file "/etc/bind/db.255";凶狠的啤酒/p> 凶狠的啤酒p>};凶狠的啤酒/p> 凶狠的啤酒p>/etc/bind/zones/mywebsite.zone凶狠的啤酒/p> 凶狠的啤酒p>$TTL 1d凶狠的啤酒/p> 凶狠的啤酒p>@ IN SOA mywebsite.com. root.mywebsite.com. (凶狠的啤酒/p> 凶狠的啤酒p>2014112501 ; serial#凶狠的啤酒/p> 凶狠的啤酒p>1h ; refresh, seconds凶狠的啤酒/p> 凶狠的啤酒p>1h ; retry, seconds凶狠的啤酒/p> 凶狠的啤酒p>1h ; expire, seconds凶狠的啤酒/p> 凶狠的啤酒p>1h ) ; minimum, seconds凶狠的啤酒/p> 凶狠的啤酒p>@ IN NS mywebsite.com.凶狠的啤酒/p> 凶狠的啤酒p>@ IN A 127.0.0.1凶狠的啤酒/p> 凶狠的啤酒p>@ IN MX 0 mail.mywebsite.com.凶狠的啤酒/p> 凶狠的啤酒p>www IN A 127.0.0.1凶狠的啤酒/p> 凶狠的啤酒p>nslookup凶狠的啤酒/p> 凶狠的啤酒p>mywebsite.com凶狠的啤酒/p> 凶狠的啤酒p>Server: 127.0.0.1凶狠的啤酒/p> 凶狠的啤酒p>Address: 127.0.0.1#53凶狠的啤酒/p> 凶狠的啤酒p>Name: mywebsite.com凶狠的啤酒/p> 凶狠的啤酒p>Address: 127.0.0.1凶狠的啤酒/p> 凶狠的啤酒p>mydnsserver.com凶狠的啤酒/p> 凶狠的啤酒p>Server: 127.0.0.1凶狠的啤酒/p> 凶狠的啤酒p>Address: 127.0.0.1#53凶狠的啤酒/p> 凶狠的啤酒p>Non-authoritative answer:凶狠的啤酒/p> 凶狠的啤酒p>Name: mydnsserver.com凶狠的啤酒/p> 凶狠的啤酒p>Address: 11.22.33.444凶狠的啤酒/p> 凶狠的啤酒p>Is what I am doing is not possible? Do I -have- to use the real IP address to resolve to? It looks like what it's doing is taking exactly what I enter into the Zone File, and setting any browser to exactly that.凶狠的啤酒/p> 凶狠的啤酒p>解决方案凶狠的啤酒/p> 凶狠的啤酒p>Moving the zone file out of /etc/bind/zones and updating the named.conf.default to look for zones in the new location fixed the issue.凶狠的啤酒/p>

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。