Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am looking for a reliable service that has a good database of the hosting providers vs domain names. I guess some of the domains that are privately hosted cannot be resolved to a definite hosting provider (maybe just to ISP).
I have used webhosting.info (their power whois and advanced whois) which used to give hosting information(not sure) earlier but not anymore. I looked at domaintools.com but couldnt find anything like that in their tools.
I guess I could do a reverse IP on a domain and go to arin.net and get the org name.
But looking for a free (or paid service) that can do bulk lookups or any reverse dns tools that you recommend or use.
Majority of websites use DNS server provided by hosting company, but you can use any other DNS server to resolve your domain names. So looking up by IP address allocation data is the best method.
Here is a site which does it for you:
http://www.whoishostingthis.com/
If you have access to a Linux machine, you can use jwhois on the IP address. So you'd need to resolve the hostname to IP address (which you could do using ping, if you wanted to use a shell-script) and then jwhois the IP address, which will (usually) automatically look it up in ARIN / APNIC / RIPE as appropriate. It's not 100% accurate, but it almost always works.
Alternatively, you can buy access to the GeoIP database.
I go to www.domaintools.com and enter the domain name in the Whois lookup.
When their Whois record shows up, look at the Name Server. It tells you who the hosting company is, and as an added bonus, also tells you the number of domains at that host.
I don't know if they have any bulk services though. I've only needed one at a time lookups.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
This might be a very basic question but I've been stucked for 2 days
I've bought the domain name AAA.xyz on Namecheap and I have my Golang web server running on my port :8095 (I've redirected my ports on my router so my server is accessible from everywhere with my public IP http://93.6.XXX.YYY:8095/)
How do I make my Namecheap domain name point to my IP adress with the right port so when I enter AAA.xyz on my browser I get response from my API ?
You have to edit your namecheap DNS settings to add an A Record, which will point to your server IP. That's enough to divert all traffic to your domain, to your server.
Although, unless it's not a production setup, it'd be better to let a reverse proxy server like nginx handle the incoming http traffic. Then you won't have to expose your port to the outside world either. (Unless you want to).
Install nginx. Add a proxy pass to your nginx config file which will route all requests coming to port 8095 to your application at 127.0.0.1:8095.
This will also help you when you have multiple go apps running on your server on different ports. You can use different URLs to point to different apps.
e.g. https://yourdomain.com/app1 will go to 127.0.0.1:8095
and https://yourdomain.com/app2 will go to 127.0.0.1:8096
Bonus: You can use Letsencrypt to provide your nginx server with an HTTPS certificate for free and then all communication with your applications will be happening through port 443 on HTTPS, without configuring every app to handle the certificate.
Also, open ports 80 and 443 in your firewall.
If you need any help with a specific step. I'll expand on that.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
What exactly are Paas, Hosting and SaaS ?
Wikipedia to the rescue.
PaaS - Platform as a service
http://en.wikipedia.org/wiki/Platform_as_a_service
SaaS - Software as a service
http://en.wikipedia.org/wiki/Software_as_a_service
Hosting
http://en.wikipedia.org/wiki/Internet_hosting_service
Heroku is not a DNS registrar. You can however buy domains elsewhere, such as Godaddy and add them to your Heroku app. By default you are given a free my-app-name.herokuapp.com domain. After you have purchased a domain, to "point it at heroku", you'll need to add a CNAME record which points to your my-app-name.herokuapp.com domain.
When you purchase a domain, you'll need to host the records on a DNS server. Some registrars provide free DNS hosting, others charge extra for it. You can purchase DNS hosting from Amazon Route 53 for $0.50 per domain / month. To use Amazon, you would need to change the domain's name servers to Amazon's.
Domain > Name Server > Hosting provider / PaaS.
One limitation of using Heroku is that you cant use apex domains. You must use a subdomain eg. www.example.com instead of just example.com. This is a DNS limitation - you can't have CNAME records on the apex. It must be an A record. Amazon Route 53 is one of the few providers that allow virtual CNAME records on the apex. It's basically an A record that is frequently updated. Each time your Heroku app sleeps due to inactivity, you may be given a new ip address when it restarts.
Further reading on DNS on Wikipedia.
ps: Happy New Year!
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
My ISP keeps on giving new ips every time i connect to the internet. I have no LAN specified and don't need one as of now. Is there any way with which i can have a static ip of my system every time i connect to internet i.e. same public ip every time?
EDIT: See i have a small company and have systems there but no LAN as of now. Now i want certain documents (saved on my internet server) to be opened up in my office only. But my office ISP gives new ips everytime that is why i need a solution with which i can assign static ips to those systems and can restrict that document to be opened up only on those office systems.
If you really NEED a constant IP for your computer, you can always ask your ISP for one, though this cna be a very expensive service.
Another option is to "simulate" this behavior through a dynamic DNS service, such as www.no-ip.com or http://dyn.com/dns/. It associates a domain to your computer (something like iamtheguy.no-ip.com).
This usually requires to install some software on your computer, so that every time your "real" public IP changes, this is notified to the external dynamic DNS server.
It's not possible to "set" your ip to a static one. But you could use a service like DynDNS.
You should take a look at something like this DYNDns
Look at localtunnel.
Looks nice. Also, I found it awhile ago reading this interesting stuff.
Ask your ISP for a static IP - I pay £5 (GBP) per month for mine.
The only other way, if that isn't an option, have your webservice require a username / password when the request comes from an IP that isn't current - This then updates your app to automatically allow requests from the approved IP.
If your IP changes then you'll need a username / password to access again.
However, with this I'd use a strong cookie as well, so that the next person who get's assigned your old IP can't access it for free - i.e. you need both the correct cookie and IP address to access without a username / password.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
We hosted our website over Amazon EC2 but now we are facing problem in delivering mails to yahoo and hotmail but Gmail is fine.
But as per my knowledge this might be due to reverse DNS lookup.
i also got a good explanation here
but now when i am trying to fill the form(you can refer this link for detail https://forums.aws.amazon.com/ann.jspa?annID=624) at Amazon for reverse dns for my elastic IP then it will ask me to provide a IP address for my Elastic IP and that IP address is used for reverse DNS look up.
So now i am confused which IP address i should provide in that from.
SO please help me on this issue.
-Thanks
P.S.
I also find a reverse DNS address after entering my elastic IP at http://lookupserver.com/ can i use that address at amazon for reverse DNS lookup.
As per https://aws.amazon.com/blogs/aws/reverse-dns-for-ec2s-elastic-ip-addresses/ complete the form at :
https://aws.amazon.com/forms/ec2-email-limit-rdns-request
Your Elastic IP Address is an IP address. It's that simple. No translation is needed. Use the Elastic IP address that you have associated with the instance sending your emails.
If you don't have an Elastic IP address allocated, you'll want to take care of this before filling out the form.
To get even better deliverability from EC2, look into using the relatively new SES (Simple Email Service).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a reoccurring DNS problem that has been plaguing our users, occasionally causing their laptops to append our company's domain to the end of all DNS queries. The problem only occurs when users are off site and it appears to be fairly random. It will work one day and then, out of the blue, it will show the invalid entry. This effects mostly Windows XP users but has recently been seen on Vista as well. Here is an example using nslookup.
C:\Users\Username>nslookup www.yahoo.com
Server: Linksys
Address: 192.168.0.1
Non-authoritative answer:
Name: www.yahoo.com.MYDOMAIN.COM
Address: 999.999.999.999
I have replaced the IP address that is reported with a placeholder but I can tell you that what it returns is the default *. entry on our Network Solutions configuration. Since obvious www.yahoo.com.MYDOMAIN.COM doesn't exist this makes since. I believe the users internal equipment is functioning properly. Internally we run a Windows 2k3 Active Directory w/ Windows based DHCP and DNS servers. Eventually the problem resolves itself usually over a couple of hours or a number of reboots.
Has anyone seen this behavior before?
I've had the same problem with Win XP. I fixed it by installing "Portable DNS Cache and Firewall" and specifying the rule to block "*.com.mydomain.com". This blocks all the queries for ".com" domains that are attempted to be resolved as you company's subdomains.
The default behavior of nslookup is to append domain suffixes to your query.
It will do that until it gets an answer to some question.
It appears that you probably had temporary network disconnection. the host then tried to resolve a name and since it could not resolve www.yahoo.com it started adding known domains suffixes to it.
You should see www.yahoo.com.SUBDOMAIN.MYDOMAIN.COM, www.yahoo.com.MYDOMAIN.COM and www.yahoo.com.COM
When all works correctly (network and DNS server) this should not be a problem.
I haven't, but the scenario that comes to mind is that perhaps your systems are trying to determine whether to append the domain suffix by looking to see whether they can retrieve NS records for the .com TLD, and then intermittent network failures are causing false negatives on that check.
It could also be a DHCP/DNS issue. Part of the DHCP reply can include information about the search domain. Typically, the PC would try to guess to see if it needed to append the search domain before sending the query up to the DNS server. Might warrant an investigation as well.
There are still a lot of possibilities, so see if you can narrow it down.
You need to isolate the problem to a specific application on a specific system.
You could have a misconfigured DHCP server (you might be able to compare the lease log on the DHCP server with windows of activity). You might have a badly behaving application, which composes calls to the resolver without an FQDN (which should end in a period). If your first query fails (lets say the DNS request times out), then the resolver might cause a second query where treated your string as a PQDN and literalized it into the longer FQDN you see.