jskfan
asked on
Public DNS Vs BGP
Public DNS Vs BGP
If I understand when you get a public IP address , you register that Public IP with Public DNS provider, so that customers from Internet can access your web servers or your employees can access their email from internet.
The purpose of BGP is also advertising your Public Ip addresses to the internet world, so that people can access your web servers.
so when should I use BGP instead of just registering public IP address with DNS registrar ?
Thank you
If I understand when you get a public IP address , you register that Public IP with Public DNS provider, so that customers from Internet can access your web servers or your employees can access their email from internet.
The purpose of BGP is also advertising your Public Ip addresses to the internet world, so that people can access your web servers.
so when should I use BGP instead of just registering public IP address with DNS registrar ?
Thank you
ASKER
Hi :Jan Springer
I know you have answered my similar question in the past..but there is still confusion..
Cannot you have 2 or more public IP addresses from different ISPs, then You can NAT them to Private address of your choice ?
I know you have answered my similar question in the past..but there is still confusion..
Cannot you have 2 or more public IP addresses from different ISPs, then You can NAT them to Private address of your choice ?
BGP is a routing protocol that allows routes to be shared over multiple autonomous networks.
DNS is for pointing named services such as www.google.com at the IP address of the servers hosting these services.
As previously suggested, they are two distinctly separate functions and you thinking that they perform similar functions is causing your confusion.
As I read your question: You are looking to manipulate DNS to achieve what you're looking to do. You are most certainly NOT looking to manipulate routes across multiple autonomous networks!
DNS is for pointing named services such as www.google.com at the IP address of the servers hosting these services.
As previously suggested, they are two distinctly separate functions and you thinking that they perform similar functions is causing your confusion.
As I read your question: You are looking to manipulate DNS to achieve what you're looking to do. You are most certainly NOT looking to manipulate routes across multiple autonomous networks!
Yes, you sure can. But if those assigned addresses aren't assigned to you as a /24 or larger, you have no use for BGP. If they are a /24 or larger, use BGP to control the announcements and don't worry about SLA or any type of failover.
An analogy may help: When planning a journey you need your starting point and the Street that you're heading to. DNS converts the destination Street name into a building number and postcode/zip code. BGP is your SatNav and defines the actual route to your destination.
ASKER
I believe the Goal of BGP is how to make Internet world get to your servers. Correct ?
If so Public DNS record , will make internet world reach your servers..
BGP sounds the same to me..
Where is the difference that I cannot see so far ?
If so Public DNS record , will make internet world reach your servers..
BGP sounds the same to me..
Where is the difference that I cannot see so far ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
David: I understand your explanation, but the confusion is not there..
I know DNS is to map Public(or Private) IP address to Hostname and Vice-versa... and BGP is advertising your Public IP address to Internet world
But What I need to understand is the Business Goal..
If you have a company and want customer to reach your web servers, then you can purchase a Public IP address x.x.x.x then on Public DNS you create an A record Mycompany.com with that IP address x.x.x.x when customers type in Mycompany.com on their browser , their requests will be redirected to the public address on your Firewall then NATTed to your internal IP addresses (Webservers)..
BGP, if I am not wrong is also telling internet world , these are my My public IP addresses ...x.x.x.x ,y.y.y.y, etc........
but I am not sure how internet world will get to you, unless if you associate a name such as hostname (Mycompany.com))to the IP addresses you are advertising
Do you see approximately where the confusion is...both approaches are used to make internet world get to your business..but in different way
I know DNS is to map Public(or Private) IP address to Hostname and Vice-versa... and BGP is advertising your Public IP address to Internet world
But What I need to understand is the Business Goal..
If you have a company and want customer to reach your web servers, then you can purchase a Public IP address x.x.x.x then on Public DNS you create an A record Mycompany.com with that IP address x.x.x.x when customers type in Mycompany.com on their browser , their requests will be redirected to the public address on your Firewall then NATTed to your internal IP addresses (Webservers)..
BGP, if I am not wrong is also telling internet world , these are my My public IP addresses ...x.x.x.x ,y.y.y.y, etc........
but I am not sure how internet world will get to you, unless if you associate a name such as hostname (Mycompany.com))to the IP addresses you are advertising
Do you see approximately where the confusion is...both approaches are used to make internet world get to your business..but in different way
DNS is a protocol that translates addresses into fully qualified domain names and vice versa (in addition to identifying where to send mail for a domain, etc).
BGP is a protocol that allows you to advertise to your providers your prefixes (generally /24 and larger). This allow others to find the path to reach the IP address provided in the DNS lookup.
BGP is a protocol that allows you to advertise to your providers your prefixes (generally /24 and larger). This allow others to find the path to reach the IP address provided in the DNS lookup.
ASKER
Mmmm.. let me put it this way...
let's say I have a Company named MyCompany.com
I need customers to reach my web servers.
Which way should I go for, Just purchase Public IP address and create PUBLIC DNS A Record: MyCompany.com pointing it to the Public IP address I purchased, then configure that Public IP on my External interface of the firewall, then NAT it back to my internal(Private) IP addresses of the web servers.
OR
Set up BGP infrastructure ?
let's say I have a Company named MyCompany.com
I need customers to reach my web servers.
Which way should I go for, Just purchase Public IP address and create PUBLIC DNS A Record: MyCompany.com pointing it to the Public IP address I purchased, then configure that Public IP on my External interface of the firewall, then NAT it back to my internal(Private) IP addresses of the web servers.
OR
Set up BGP infrastructure ?
ASKER
I don t think you need BGP just to allow others to find the path to reach the IP address provided in the DNS lookup.
No BGP!!! What you're referring to has nothing to do with BGP!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK...
So Public DNS record is Mandatory to have internet users reach your servers by name...
BGP is when you have two or more ISP providers, and you configure the best path for customers to reach that public IP address you registered in DNS..
So Public DNS record is Mandatory to have internet users reach your servers by name...
BGP is when you have two or more ISP providers, and you configure the best path for customers to reach that public IP address you registered in DNS..
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Kool...
Can both ISPs provide you with Autonomous Systems , ex: AS 64550 from ISP1 and 64570 from ISP2, and Public IP addresses ,
then you can register both Public Ip addresses in their Public DNS servers?
Can both ISPs provide you with Autonomous Systems , ex: AS 64550 from ISP1 and 64570 from ISP2, and Public IP addresses ,
then you can register both Public Ip addresses in their Public DNS servers?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The same ISPs that can give you AS numbers can register your DNS Public IP address, and also give you Internet access, or they can be different entities
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you Guys
Either way, if you have address space that you are using, you still need to update DNS.
These are two distinct protocols serving two distinct functions.
And, while I consider BGP and DNS to be the glue of the Internet, one is independent of the other.