How can i find domain associated with a specific nameserver? - dns

Hi is there any way to find all the domain associated with a specific name server, I have the ip address as well, but i'm getting a result of 600+ domains. I want to narrow down the search to domains that are linked with that particular name server.
Thanks.

Not realistically, no. There is no central registry of name servers, and trying to iterate through the entire global DNS tree is not feasible.

Related

What is the use of having canonical names in computer networks? Can't we just use alias names to get IP address directly?

For eg. we wanted to search google.com (let us think that its an alias name), then we will lookup in DNS and get its canonical name which further helps to get the IP address. Why cant we just get IP address from alias name as it would also be unique.
It is not always guaranteed that alias name resolves to same IP address. And, there is a very good reason for it. Lets say person A is browsing google.com from country A. Google has it servers all over the world (for efficiency purposes). It is beneficial if person A requests are directed towards google servers in country A than towards some other distant location. Here where CNAME records comes into the picture. CNAME records are configured in such a way that google.com resolves to servers which are specific to country A. And another case where you get different IP for same alias name is when you fetch MX records (mail server records), for the same domain you can have different servers managing mails and web traffic.
The design of URL is for convenience. The convenience is that when we want to change the server IP, we don't need to tell all the users the new ip of the website. In other words, what we have done in server will make no change to users. That is the core thought in server design.

Domain Name Transfer: How to?

I don't know anything about it, so I have to ask ...
I have a domain name registered with dotster: MyOld.com
Maybe I will get a new domain name: MyNew.com
The search engine rating is quite high, so I don't want to loose MyOld.com. Right now it is pointing to my old shared webhost. But I found a new webhost. What do I have to do?
Change to settings in dotster to point to the new host? Of course I will have to inform my new webhost, too.
If I keep the pages, description and keyword the same, the search engine should not have too much of a problem. Right?
Is it possible to point two domain names to the same IP? MyOld.com and MyNew.com to the same new webhost?
This depends on your webhost. Many have a DNS service that will set the authoritative web servers for you. Otherwise you can just set the CNAME on the domain to that of your new webhost.
Changing the underlying host should have no discernable impact on your search engine rank,etc.
Yes! Absolutely.

BIND DNS Zone Fowarders vs. NS Type Records

Is there a big difference between setting a DNS Zone to have type foward;, and setting an NS record for another name server in the zone file? Does one have better performance/speed? Or am I completely missing the point, and they are completely different?
So there is a difference between the two scenarios... adding NS records is creating a delegation (and you can only do so for subzones when you are authoritative for the parent zone, adding forwarders are simply that. Performance/speed don't really come into it as they are used for different purposes.
Delegation is used when you want delegate the management of a subzone to another server. E.g. you own corp.com, you could delegate the subzone of engineering.corp.com to the engineering team's name server. This is how the whole Internet DNS hierarchy works, zones are delegated down from the root.
Conditional forwarding is used when you want to directly bounce queries sideways to a specific name server which is responsible for a specific domain. If the owner of corp.com bought company.com then during the merging phase when you want internal DNS access available to both companies, you may want to add forwarders for each company in the other's name server, the servers then know where to forward queries to directly instead of traversing the Internet hierarchy and getting the external name servers for either company.
Steve

Is there a way to find all existing subdomains of one main domain?

I work for Johns Hopkins University, and our web culture here has been an unruled wilderness for many years. We're trying to get a handle on the enormous number of registered subdomains across our part of the web-universe, and even our IT department is having some trouble tracking down the unabridged list.
Is there a tool or a script that would do this quickly and semi-easily? I'm a developer and would write something but I want to find out if this wheel has been created already.
Alternatively, is there a fancy way to google search, more than just *.jhu.edu or site: .jhu.edu, because those searches turn up tons of sites that use "jhu.edu" in the end of their urls (ex. www.keywordspy.com/organic/domain.aspx?q=cer.jhu.edu)
Thanks for your thoughts on this one!
The Google search site:*.jhu.edu seems to work well for me.
That said, you can also use Wolfram Alpha. Using this search, in the third box click "Subdomains" and then in the new subdomains section that is created click "More".
As #Mark B alluded to in his comment, the only way a domain name (sub or otherwise) has any real value is if a DNS service maps it to a server so that a browser can send it a request. The only way to track down all of the sub-domains is to track down their DNS entries. Thankfully, DNS servers are fairly easy to find, depending on the level of access you have to the network infrastructure and the authoritative DNS server for the parent domain.
If you are able to, you can pull DNS traffic from firewall logs in and around your network. That will let you find DNS servers that are being sent requests for your sub-domains.
Easier though would be to simply follow the DNS trail. The authoritative DNS server for your domain (jhu.edu) will have pointers to the other DNS servers that are authoritative for sub-domains (if your main one is not authoritative already).
If you have access to the domain registrar and have the proper authorization, you should be able to contact technical support and request the zone file or even export it yourself depending on the provider.

Subdomains and DNS

I currently have my own domain name and dedicated server and I offer different packages to my clients. What I want to be able to do is have them sign up with my website and create a package automatically that they can access via their username as a subdomain e.g.
http://yourusername.mywebsite.com
I currently have DNS entries set up for various subdomains with real information for my website e.g.
Name Type IP Address
# A 1.2.3.4
bugs A 1.2.3.4
support A 1.2.3.4
However, if a new customer signs up at the moment I have to go and manually create an entry for them with their username in it.
I'm sure I've seen websites that manage to do this automatically, does anyone have any ideas how, or any other methods that I should be using?
Thanks,
Mark
Since you apparently do not control the name servers, your choices are quite limited. One possibility is to use a wildcard DNS record:
* A 192.0.2.1
where the star will replace every name. Not ideal (inexisting domains will also appear).
The details depend on which DNS server you're using.
One approach is to have some code that opens the DNS zone file and adds the desired records. On Linux with Bind, you will then need to signal the server to get it re-read the zone file.
With Simple DNS Plus, you can easily add such a DNS record through the included HTTP API. For example:
http://127.0.0.1:8053/updatehost?host=yourusername.mywebsite.com&data=1.2.3.4
Since you apparently do not control the name servers, your choices are quite limited. Nevertheless, every serious DNS hoster provide you with a API (see for instance Slicehost's API). So, you may use this API and write a small program to update the DNS data.
(Foot note: handling paying customers when you do not even control the name servers seem... bad)

Resources