cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
875
Views
10
Helpful
2
Replies

question abbout NAT, LAN, WAN and DNS

steef4000000
Level 1
Level 1

Sorry if these questions aren’t that clearly formulated since it’s a question that comes forth from my confusion.

 

My question is if i use a different ip then 192.168.0.1 in my local network can i access the internet (wan) variant of that ip adres trough typing it in the browser.

And how does it work when you have a DNS service/server running in your local network, how does the DNS server knows if it needs to use the LAN or the WAN variant

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame
My question is if i use a different ip then 192.168.0.1 in my local network can i access the internet (wan) variant of that ip adres trough typing it in the browse

You can use any RFC 1918 address space, as long as it natted with your ISP address in the Router.

 

nd how does it work when you have a DNS service/server running in your local network, how does the DNS server knows if it needs to use the LAN or the WAN variant

Make sure you alwyas use valid DNS Server which act as DNS Server, which intern connect to root DNS Server to get a Query

 

here is how DNS wroks :

 

https://computer.howstuffworks.com/dns.htm

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame
My question is if i use a different ip then 192.168.0.1 in my local network can i access the internet (wan) variant of that ip adres trough typing it in the browse

You can use any RFC 1918 address space, as long as it natted with your ISP address in the Router.

 

nd how does it work when you have a DNS service/server running in your local network, how does the DNS server knows if it needs to use the LAN or the WAN variant

Make sure you alwyas use valid DNS Server which act as DNS Server, which intern connect to root DNS Server to get a Query

 

here is how DNS wroks :

 

https://computer.howstuffworks.com/dns.htm

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Joseph W. Doherty
Hall of Fame
Hall of Fame

". . . how does the DNS server knows if it needs to use the LAN or the WAN variant"

It decides on what it "knows".  If the domain is locally known, or cached, it can be provided by the local (often on the LAN) DNS server.  If neither, as Balaji notes, the query starts with a "root" (a WAN) server and works it way through subordinate DNS servers until the name can be resolved, or not.

For example, if you want an IP for community.cisco.com, a local DNS server (if you're not on the Cisco network), directs a query to the "com" root server which will direct a query to Cisco's (public) DNS server, which may/probably also resolve "community" (although there might be a subordinate DNS server for that too).

Review Cisco Networking for a $25 gift card