| Autor | 
    Nachricht | 
   
  
    | 
      
     | 
    
      
        
					
            Titel: Manual DNS lookup? 
             Verfasst am: 14.06.2006, 15:48 Uhr
           | 
				 
       
     | 
   
  
    
      
        
          
             
            
  
            Anmeldung: 22. Jul 2005 
            Beiträge: 124 
             
            
            
           | 
         
       
     | 
    
      
        
          Hi.  Here is what I am looking for.  some software to perform a DNS lookup.  I want to give it a URL, and get back the IP address of the web site.  Why?  Well I have a web site and maintain several web sites for some friends.  The free hostin service that I use is pretty good, but has the annoying habit of changing the IP addresses of these web sites without giving notice that they have done so.  
 
 
So sudenly, I cannot connect via FTP to upload new or changed pages.
 
I used to be able to do a ping, and get the IP but it seems that this is blocked by Peoplepc now...When I do a ping I get a response of unknown host nameofwebsite
 
I get this in both Kanotix and Win98se, both with firewall disabled and firewall running.  Yet a Windows program called Fastnet 99 can get the IP addresses.  
 
 
Is there a way to do this in Linux?  Maybe from a terminal?
 
 
Any ideas?
 
 
PS.  I really do not want to move these sites to a new web hosting service, and I have read that many free web hosting services change their IP addresses frequently. | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
   
  
    | 
      
      
     | 
   
  
      | 
   
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 14.06.2006, 16:06 Uhr
           | 
				 
       
     | 
   
  
    
      
        
          
             
            
  
            Anmeldung: 12. Mar 2004 
            Beiträge: 275 
            Wohnort: Paris-France 
            
            
           | 
         
       
     | 
    
      
        
          Yes you can use 
 
whois <>
 
or
 
nslookup <>
 
 
both from CLI and both query the DNS directly however you should be able to do this directly with ftp too .. just use the domain name instead of IP. | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
   
  
    | 
      
      
     | 
   
  
      | 
   
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 15.06.2006, 01:35 Uhr
           | 
				 
       
     | 
   
  
    
      
        
          
             
            
  
            Anmeldung: 22. Jul 2005 
            Beiträge: 124 
             
            
            
           | 
         
       
     | 
    
      
        
          Hi Gowator.  Here are the results of trying what you said.
 
 
martin@Kanotix:~$ nslookup http://shehar7.coconia.net/
 
Server:         209.244.0.3
 
Address:        209.244.0.3#53
 
 
** server can't find http://shehar7.coconia.net/: NXDOMAIN
 
 
martin@Kanotix:~$ whois http://shehar7.coconia.net/
 
No whois server is known for this kind of object.
 
 
This is a valid URL, and the web page is loaded in Firefox just fine.  
 
I tried several other valid web page URLs also...same results.  And the firewall IS disabled.
 
Any other ideas? | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
   
  
    | 
      
      
     | 
   
  
      | 
   
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 15.06.2006, 12:24 Uhr
           | 
				 
       
     | 
   
  
    
      
        
          
             
            
  
            Anmeldung: 09. Jan 2006 
            Beiträge: 1720 
             
            
            
           | 
         
       
     | 
    
      
     | 
   
  
    | 
      
      
     | 
   
  
      | 
   
  
  
    | 
      
     | 
   
 
					 | 
				 
			 
		 |