New answers tagged

1

You can't do what you want to do. There is no single command that will give you the information you want. Additionally, there can be multiple forward (A) records for a a single IP address as well as CNAME records all of which are hostnames for the system. You could try dumping your DNS config and searching for all records that have the same IP addrress, ...


1

You can't get this information at all, at least in a reliable and complete way. The system doesn't need to be aware of what DNS names for what domain are pointing to it. If PTR records are defined, you can get these like Brennen described, but everything else is unreliable. As an example, nothing prevents me from setting up DNS entries for any IP ...


0

This one liner will work: ifconfig | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' | xargs -L1 host


2

It turned out (seems obvious now) that in my index.php which is the entry point for incoming requests to my Apache server I was doing: <?php header('Location: http://107.170.41.208/jrrecordings/'); ?> When I should have had: <?php header('Location: http://icecoldnugrape.com/jrrecordings/'); ?> So, my DNS settings were not the issue, and ...


3

No, you can't do it. You can only route Amazon IPs to AWS instances.


1

set an 'A Record' for your WWW entry Once you have that complete use a CNAME for your domain name entry rather than binding the CNAME to an IP, bind it to a name.


1

The first thing you will want to do is make sure you set the name servers within your domain's host settings to: NS1.DIGITALOCEAN.COM NS2.DIGITALOCEAN.COM NS3.DIGITALOCEAN.COM Also make sure you add the domain to your Digital Ocean's droplet by logging in choosing your droplet and hitting Networking at top, you will see a section that says domains where ...



Top 50 recent answers are included