Networking :: Configure To Resolve For Hostnames When An IP Address Is Provided To DNS Server
May 21, 2010
How do we configure to resolve for hostnames when an IP address is provided to the DNS server.
Things I tried
The DNS daemon was started by the resolution failed. Find the logs below
** server can't find 11.127.168.192.in-addr.arpa: NXDOMAIN
View 4 Replies
ADVERTISEMENT
Nov 26, 2010
I am wondering if it is possible to use avahi to resolve hostnames across a gateway. With gateway I mean a linux box with ip_forward'ing enabled to pass traffic between interfaces. The gateway connects two networks with all hosts running Ubuntu and specifically avahi-daemon. The gateway is not running avahi and I am not able to install it there. The firewall configuration on the gateway is not blocking any traffic between the networks. I am able to send UDP packets from a host on one network to a host on the other.
When I run tcpdump on a host and try to ping that host.local from a machine on the other network I see no traffic. This means that the gateway is not passing the multicast traffic along. Is there any special setup required on the gateway to allow this?
View 2 Replies
View Related
Jun 28, 2010
(although I'm running Solaris, I've posted here as I expect Solaris/LINUX is irrelevant) - more of a general network Q.I have a PC running Solaris 10 (hostname MARKUNIX) and a laptop running WinXP (hostname MARK-LAPTOP). Both are connected to broadband via a router. IP addresses for each are determined via DHCP (192.168.1.nn) and I do not leave either on, 24x7. I am running Oracle on MARKUNIX and want to be able to refer to it by hostname when using Oracle tools on my laptop.Each machine can ping each other ok by ip address and curiously the Solaris PC can ping MARK-LAPTOP (I'm not sure how it resolves that?) - importantly the laptop cannot ping MARKUNIX.Now I could add MARKUNIX to my laptops hosts file but that would mean changing the file each time I boot up as the ip address for MARKUNIX will keep changing (DHCP).
Is there a way to refer to MARKUNIX without having to keep changing ip addresses and use DHCP? As I understand it the 192.168 address is private and is not really the 'real' ip address and as such can be manipulated(fixed?) even whilst using DHCP?Am I right in thinking that a static ip from my broadband supplier is the ip of my connection (router) and I'll still have the same private network referencing issues?What I've covered above pretty much is the extent of my knowledge of networking so bear that in mind please.
View 4 Replies
View Related
Oct 4, 2010
I'm having really weird and frustrating DNS issues with my clients unable to properly resolve the server's ip address. They can resolve each other's, and outside systems, but not the server - at least, not correctly, and not all the time.
I have one Ubuntu server set up that does both DHCP and DNS serving to the Windows systems. The server has DNS forwarding turned on to forward to OpenDNS's servers (I've tried using my ISP's dns servers but the problem remains).
The server is *not* set up as a firewall; I am actually using a DLink router for that, and the Dlink is *not* set up to serve up DHCP nor DNS.
What I am getting is that my clients - and there are nothing but Windows clients - will not resolve the name of the server. For example, if I do: ping linuxserver
I get back a false IP address of 192.168.0.64 (and I've seen once a 192.168.2.49).
If, however, I put a dot in there: ping linuxserver.
I get back the *correct* IP address of 192.168.0.2, and thereafter, ping'ng linuxserver without the dot will work. Until the dns cache expires, either naturally or with ipconfig /flushdns on the windows clients.
The client *are* getting valid dhcp leases and can resolve everything happy-happy, they just will not get the proper address of the server 100% of the time.
View 4 Replies
View Related
May 10, 2010
I am working behind an ISA Server proxy in a windows network. I have an Ubuntu 10.04 without have it added to windows active directory domain.I have configured Ubuntu network proxy, and everything works fine ..but:I can't ping, host, nslookup & most important I can't wget (wget: unable to resolve host address) from the terminal. I have read lots of forums and I tried to resolve the issue but I failed.Also before I had in the same network Ubuntu 9.04 (in another pc) and wget was working fine.
View 3 Replies
View Related
Jun 24, 2011
I recently assembled a new computer with both Windows 7 boot and Ubuntu 11.04 boot.For some reason, I can not resolve domain names at all on in Ubuntu while Windows 7 works just fine. I'm wondering if I have improperly configured my network settings. I am trying to configure this machine to have a static IP on my network of 192.168.1.3..The machine definitely has its network card installed properly and in Ubuntu I can access numeric ip addresses anywhere via browser or ssh.When I type in "google.com" in a browser I get an instant 'server not found' error page.
Anything that is described in my hosts file seems to work just fine. I can ping my router which has a LAN IP of 192.168.1.1 just fine with no packet loss.Also, I am unable to access this machine via ssh from any other machine on the network.
View 14 Replies
View Related
Jul 14, 2010
How do you get linux to resolve local hostnames without DNS?
I've recently migrated from a fully windows home network, to a few linux machines and im unable to ping any local machines with hostname via these linux machines. i can ping IP and internet hostnames. also, windows > anything pings ok too. however linux > anything will not ping via hostname.
I beleive it's an additional service running on windows to resolve hostnames without DNS (wins/netbios).
DNS is done via a netgear DG834 router (DNS forwarding).
I know i could either use direct IP, or add machines into the hosts file, but im wondering if theres some way around that and to have it dynamically update like it does on the windows machines. static mappings seem a bit silly inside DHCP zones
I've seen some reports of avahi causing local network issues (taking over the .local domain), but i think this only extends to having to manually enter in .local after the hostname and even after removing avahi, the problem is still present.
View 9 Replies
View Related
May 4, 2011
If I use static TCP configuration, (my Linux is Red Hat, but SuSE is quite similar) I define DNS's in file "/etc/resolv.conf" and Default GateWay in file
"/etc/sysconfig/network" (/etc/sysconfig/network/routes undef SuSE).
So, when I want to display those values, I just display the contents of the file. But, if my TCP configuration uses DHCP server ... I dont know the command to display those values. PD.- in straight : I need a command to display the DNS's in effect on a TCP/IP configuration that uses a DHCP server. Also, a command to display Default Gateway would be welcome.
View 2 Replies
View Related
May 28, 2010
I have to build a netwrok for small lab and office setup.Setup as belowI have a PC running with Centos 5.4 and has 4 NIC cards. eth0, eth1, eth2 and eth3
View 3 Replies
View Related
Jul 6, 2011
Centos 5, After switching out server to another provider the website responds as it should but the server is unable to establish connections to remote servers. Yes the internet connection is fine, I'm actually working on the server remotely.
--- 4.2.2.2 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
/etc/resolv.conf has opendns nameservers
nameserver 208.67.222.222
nameserver 208.67.220.220
search localdomain
and I've updated /etc/sysconfig/network to reflect the new IP address.
View 8 Replies
View Related
Oct 22, 2009
I allocated a chunk of memory using kmalloc in a Device Driver. Kmalloc provides a pointer to the allocated memory. This is one of my first few drivers.
I assume that the address returned is a Virtual address. I need to find the physical address of the memory location. I am working on an Intel 64 bit Fedora machine. I used the virt_to_phys() routine present in <asm/io_64.h>. I found that this routine returns an unsigned long value (32 bit) instead of an unsigned long long value (64 bit). Moreover, it seems that it simply returns the address - OFFSET instead of extracting the value in the page tables.
So is there any function / system call in Linux which will allow me to see the actual physical address on the Intel 64 arch.
View 3 Replies
View Related
Jul 26, 2011
I just changed my CentOS server from DHCP to static IP address. After the change, I cannot ping other hosts on the same subnet. (I can ping the CentOS itself).The IP address of CentOS is 192.168.0.202.After pinging 192.168.0.106 (106 is on and other host can ping it), arp -a shows? (192.168.0.106) at <incomplete> on eth0 It looks ARP cannot resolve MAC address of hosts 192.168.0.106.
View 1 Replies
View Related
Mar 25, 2010
I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with dhclient eth0 -s 10.45.48.108 and get a response
openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to 10.45.48.108 port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from 10.45.48.108
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to 10.45.48.108 port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.
The server reports eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
eBox141 dhcpd: DHCPOFFER on 10.45.200.2 to 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks. what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?
View 2 Replies
View Related
May 2, 2010
I would like to configure DNS server in RHEL 5.3 to resolve domain name. Do you have step by step procedure or automated script to configure the dns server?
View 2 Replies
View Related
Oct 25, 2010
Here is a glimpse of my IPTABLES
http://pastebin.com/WvHAC46A
I see in the column of sources the addresses being resolved to domain names is there a way I can stop this?
View 4 Replies
View Related
Sep 8, 2010
I got an application deployed on Websphere Application Server on SUSE Linux V 10. We are accessing the application using the IP address in the URL. Please let me know how to configure the DNS, so that we can use the Host name in the URL and the Host name is automatically mapped to the IP address.
View 1 Replies
View Related
Nov 17, 2010
I have an odd thing going on with DNS. I have two machine's running Ubuntu and for some reason they do not always resolved internet addresses on my Internet connection. This has gone on since the Ubuntu 8.04 when I first started using Ubuntu. Anyway, I use OpenDNS' DNS servers and I have been running perfectly.
This is what is odd. My Windows XP Machine never has the problem. It always resolves. Does Windows Possibly have some Microsoft hosted DNS server hard coded in there as a backup? Things are working fine this way so I am not looking to change. I am just a little puzzled and finally got around to asking, "Why is this".
View 9 Replies
View Related
Mar 10, 2010
I'm trying to troubleshoot some strange networking problems. The pattern seems to be that only newer distributions are affected. CentOS 5.4 and Ubuntu 8.04 work fine out-of-the-box. But Arch, Sidux, AntiX, Fedora, etc. show the same pattern of errors.Certain websites cannot be found unless I disable ipv6 in Firefox. And certain addresses cannot be resolved using various terminal commands (wget, apt-get, yum, etc.). What I would ideally like is a permanent solution, perhaps changing some settings on my router, so that I don't have to deal with this each time I test-drive a new distro. I have a hunch the issue has something to do with my DSL provider (Fairpoint) filing for bankruptcy.
One more piece of information that may or may not be relevant: I recently switched a website from one hosting company to another. I noticed there was a delay of several days where I saw the old version at the old host, but viewing the site at a friend's house or the coffee shop showed the new site on the new host. This leads me to suspect DNS issues perhaps, but this is not an area of expertise.
View 3 Replies
View Related
Feb 17, 2011
In firefox you can type ubuntuforums and it will bring you here via a google query.Mines stopped working the address bar goes to http://ubuntuforums/ and I get a forbidden page.I've check about : config and all is set fine
Code:
Keyword.enable = true
Keyword.URL = http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=
[code]....
View 5 Replies
View Related
Sep 24, 2009
I need to know how to configure the address of the next level DNS server in my BIND server. im in a FEDORA 10 system.
View 3 Replies
View Related
Apr 25, 2011
The configuration is completely different than any other version of linux i've used.
View 2 Replies
View Related
Jun 2, 2011
I've been for a while trying to configure my apache to host 5 domains as virtualhosts in the same IP address, but seems that neither one makes it through... it always takes first one, because it is the default:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin xxxxxxx@xxxx.net
[code]....
As you can see I tried the ServerName with the http://, in quotes, without it...
View 11 Replies
View Related
Jun 21, 2010
In WindowsXP I am able to assign multiple IP Addresses to a single LAN Card/NIC Port by clicking "Internet connections> Local Area Connection>Internet Protocol (TCP/IP)> Advanced> Add".
Is there a way to configure an Ubuntu 8.04 LAN connection to use more than one IP address?
View 2 Replies
View Related
Jul 14, 2011
This morning it would not boot; when I tried to wake up the system, it gave me a bunch of errors, the last ones being as follows: "mount error: could not resolve address for servername: No address associated with hostname mountall: mount /media/shares [1402] terminated with status 1" I am writing this in Win 7 since I lost ubuntu. I am using ubuntu 11.04.
View 2 Replies
View Related
Jul 20, 2010
I have changed some settings on my DNS / DHCP config under Debian Lenny, and now when i try to ping some box it only works with long names.
For example:
Ping borsti doesnt work (can not find host) but if i use ping borsti.borsti.iss it works. I have no idea why it doesnt work because i only modified the dnssec-key (created a new key) and nothing else in te config Here is the config i used for bind: (taken from named.conf.options and named.conf.local)
And here is my dhcpd.conf:
View 4 Replies
View Related
Jan 1, 2011
I am using DNSMASQ on a Debian 5.0.6. server. I configured DNSMASQ as DHCP server, and want it to answer local DNS requests. However, I am unable to use hostnames, and am forced to use IP addresses when pinging, opening a ssh shell on a remote server, opening a remote desktop to a windows system etcedtera.
Because I use DHCP, I can not hard code the ip addresses in the hosts file. How do I configure DNSMASQ so that i can use hostnames for computers who get their IP addresses from DHCP.
View 11 Replies
View Related
Mar 12, 2011
Setup a new machine with Apache, identical setup to all the other machines I got, yet this one is logging hostnames instead of IPs.
"HostnameLookups" are "Off" and LogFormat settings are identical to all the other machines:
Code:
Added a new LogFormat directive:
Code:
And told the virtual hosts to use it:
Code:
This solved the problem, though I'm at a loss as to why I've got this behavior on just this one box and none of the others. OS is Debian Lenny, same version of Apache installed via Debian package.
My understanding from Apache doc [url] is that when "HostnameLookups" are "Off, "%h" will yield IP instead of hostname..
Code:
It features support for HTTPS, virtual hosting, CGI, SSI, IPv6, easy scripting and database integration, request/response filtering, many flexible authentication schemes, and more. Homepage: [url]
View 4 Replies
View Related
Jan 5, 2010
I have a situation where I have two DNS servers - a BIND one for our Unix hosts and a Windows Server DNS one for the Exchange and other Windows hosts. I set up the BIND server to slave from the Windows one, which it seems to do just fine.
Windows DNS has entries like "_gc._tcp.domain.local" in it, which are needed for domain logins, etc.
However, when I try to use nslookup on those entries, it fails when querying the BIND server. When I do a domain transfer with dig, I get all the answers I expect.
This failure means that the Windows boxes can't query the BIND server for the answers they need. By default, from DHCP, it is the BIND server they get, so that's a big problem. If I manually switch their DNS to the Windows server, it works perfectly.
View 1 Replies
View Related
Jul 22, 2010
I cannot ping any hostnames on our LAN /etc/resolv.conf has both name servers configured correctly. I can ping the IP, but can't ping the hostname. I know it's something really simple, just can't put my finger on it.
View 9 Replies
View Related
Jun 24, 2010
Every time I do a fresh install, there are a number of manual config things to change. One of them is to modify /etc/hosts to add the local IP addresses to a computer name.Can this be done via the Ubuntu networking somehow ? It would be nice not to have to change some of these config files.
View 4 Replies
View Related