Server :: DNS Not Working With Short Hostnames
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
ADVERTISEMENT
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
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
View Related
May 24, 2011
I installed 11.04. No problems. The launcher icons were too big so i resized them with compiz. Being a fiddler I played with the thing for a while, no problems until I unticked desktop wall, when the entire desktop departed. Is there any way short of a re-install to get thi gs working again ?
View 4 Replies
View Related
Apr 29, 2011
Some of my short cut keys seem not ot be working. Ex Alt +F2 dose not open a pop up command line. Also would like to add some short cuts. Like Ctrl + Alt+ Backspace for reboot. I went to the short cut app and I can add a short cut key, name it, but can't seem to figure out how to assign it a function. Didn't seem intuitive to me. I'm using the UNE version on a asus eel 1000.
View 1 Replies
View Related
Jul 27, 2010
I've installed Ubuntu server on a small box with a couple of large hard drives to use as a remote backup server. Since my backups will run nightly in the wee hours, I'm configuring this to use Wake-on-LAN to start the server and run the backup. Once the backup completes - probably on the order of an hour later - another script shuts the server down. Once in a while I'll remote in to update packages and check on the status of the system, though I can check backup logs to insure that is still running.
Need I be concerned about the various cron jobs that periodically run to tidy things up? Should I periodically - say once/month - leave the system up for a full day to make sure that everything that needs to happen will run?
View 9 Replies
View Related
Aug 5, 2010
I have been reading the official Openldap configuration files, plus a bunch of other websites but I cannot find the literal meaning for the following short names:
dc
dn
ou
uid
cn
View 2 Replies
View Related
Apr 27, 2010
I have currently 7 servers that report logwatch every day.Fact is that it's lot of information to process every day, I would like to have as short as possible overview of events happened in last 24h is only critical/warning information . It would be + if all servers output could be gathered in 1 email
View 2 Replies
View Related
Jun 10, 2010
I am backing up data from a remote server onto a local ntfs partition. It seems that the rm -rf and cp -a commands are taking a long time to complete in what should be short, incremental backups.Has anyone had similar problems when backing up to an ntfs partitionHere is my rsnapshot.conf:
Code:
#################################################
# rsnapshot.conf - rsnapshot configuration file #
[code]....
View 5 Replies
View Related
Aug 26, 2011
What is the general feeling for the case of hostnames in Linux/UNIX, is it preferable to have them in lower-case or upper-case? I have always preferred them as lower-case but I am interested to see if there are any arguments for or against this practice.
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, 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
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
Nov 3, 2010
I have recently installed Ubuntu 10.10 and using it on a Windows Network.
I cannot ping any localhosts on the network using computer name but can ping using the IP Address.
I can ping the hosts via hostname from a windows machine fine, just not from Ubuntu
I can ping external websites using hostname like [URL]
My resolve.conf file is as follows.
# Generated by NetworkManager
nameserver 192.168.95.253
nameserver 192.168.95.234
View 1 Replies
View Related
Sep 29, 2015
So I have a router that I've gotten from my ISP, which seems to run a hardened, custom version of OpenWRT. By that I mean it's read-only and has a lot of files mostly in RAM. So putting custom firmware on it is not an option for me right now, as it's by only router. Actually, it's not just a router, it's an Actiontek modem/router combo.
So anyway, lets say I have a machine on my LAN and I want to basically SSH into a box by hostname. Now the thing is, I prefer using OpenDNS (previously OpenNIC) as my DNS, and so I don't use my router as my nameserver, though I could do that.
So how do I connect to my machine by hostname? I would prefer a solution that does not use Avahi/Zeroconf or editing the hosts file. People have said setting up a local DNS server might be okay, but I'd have to do that for every machine I'd want added to my network. Kind of almost as bad as editing a static hosts file. I use really want to use DHCP over static IP assigning, and the one on my router is not as advanced, so I can't use my hosts file. And also,
So is Zeroconf the only solution? I'm not sure how to set up Zeroconf. Do you just install Avahi?
I want a simple, almost Arch-linux solution, lean and clean, using only the most minimal software. I don't care how much configuring I'd have to do, as long as it's going to stay reliable as well.
View 2 Replies
View Related
Mar 16, 2010
I have a ubuntu server running which acts as a firewall/dhcp router for sharing internet to all computers on the network. On the network i have my stationary computer (win7) and my laptop (macbook).The server has 3 nics installed.ETH2 for internet. ETH1 (192.168.1.2) for windows pc. ETH0 for macbook (192.168.2.2).I can share files no problems over the network. Between windows <-> server, macbook <-> server, windows <-> macbook.The problem i'm experiencing is that i can't seem to find either hostnames between windows and macbook. They connect to each other fine with the right ip addresses, but they can't seem to connect when using computer names.
On both the macbook and windows pc i can see the server and connect to it without using the ip adress.What can i do to make them see each other with their computer names? Is there anything i can install on the server and configure in order for it to work automatically?In osx you have a tab in the finder that says "shared" which shows the computers on the network and only my server pops up.The same in windows, i can only see the server but not the macbook.As said, it works perfectly fine if i use \192.168.2.2 (or smb://192.168.1.2 on the macbook) but i'd rather be able to connect via the computer names.Would also love if they could resolve automatically so when a friend connects to the network i'll see his computer name right from the start, without any re-configuration.
View 9 Replies
View Related
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
Feb 7, 2016
I managed to set up an openvpn server, ip-forwarding and a nat iptable rule for that.
Almost everything works as expected, but my problem is:
Smartphone -> VPN -> Internet ==> works (by ip and hostname)
Smartphone -> VPN -> machine in my local network by IP ==> works
Smartphone -> VPN -> machine in my local network by its hostname => DOES NOT WORK
Machine w/ VPN server -> ping to machine in local network by ip or hostname => works
So, i wonder why i cant access a local machine through the vpn by its hostname. I guess I'm missing a forwarding rule??
iptables dump:
# Generated by iptables-save v1.4.21 on Sun Feb 7 20:56:52 2016
*nat
:PREROUTING ACCEPT [786:59064]
:INPUT ACCEPT [728:53047]
:OUTPUT ACCEPT [19:1487]
:POSTROUTING ACCEPT [20:1576]
-A POSTROUTING -s 10.8.0.0/24 -j MASQUERADE
COMMIT
# Completed on Sun Feb 7 20:56:52 2016
View 0 Replies
View Related
Jul 8, 2010
I recently set up an Ubuntu server computer (10.04) with the hostname 'morbo', and with a static IP address. With all my other ubuntu systems i can ping and ssh using their host names, like:
[code]...
i can't reach it via 'morbo.local' nor can i reach my other ubuntu systems from morbo by their hostnames. I have seen a 'quick and dirty' solution which might help here : [URL]... , but i don't want to have to add every system to morbo's list and morbo to every systems list, and because it works without manual configuration on all my other systems, i don't see why it shouldn't be possible here. Currently everything connects to one d-link router - does this mean it is the DNS server?
View 9 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
Aug 13, 2010
I'm curious; for a current project a server has 4 network interfaces (eth0 and eth2 are in a bonded pair using the bonding module, and then eth1 is being used for management, while eth3 is currently unused but may be utilized for iscsi in the future).
We need to configure two different hostnames, one for the bonded pair (bond0) and one for eth1. Now I have been googling around to try and figure out how the heck this is done but I can't find much of anything. In some methods it mentions using the hostname command, however this isn't persistant after reboot.
Another mentions just editing the /etc/hosts file but I thought that was only used locally? Both bond0 and eth1 will be on separate VLANs with different DNS servers, so it needs to end up with two different FQDN's
View 1 Replies
View Related
Jun 25, 2010
What are the short cuts we can use for KDE desktop , for eg. To run command , to lock session. etc.
View 1 Replies
View Related
Sep 5, 2011
kindly help me how to create short cut to desktop for jdownloader in fedora 15
View 1 Replies
View Related
Jan 4, 2011
I installed Ubuntu 10.04 choosing, as administrator, a User Name and a User Short Name. Now, I would like to change those names and I manage to do it with the first, but not with the second, the Short Name. At the same time, I would like to give the same new name to my personal folder in /home. Is it possible to do all that?
View 5 Replies
View Related
Jun 27, 2011
I have been trying to change my password on this install to a simple 2 character alpha.
I tried using the "users and groups" menu and got the error "password is too short" that also tells me that I need more that 5 characters.
After searching for a bit I found the passwd <username> command to be used in the recovery mode. I got a similar massage there too.
upon doing a fresh install I am able to initially set a simple password to do what I want, but after changing to a more secure password I have not yet found a way to get back to where I want to be. I really don't want to burn this down do yet another install.
yes, I know the system is trying to protect me from myself but that is off the point.
View 2 Replies
View Related
Apr 28, 2011
I'm using a short script when I download the Slackware-(current) packages.
Since it works for me I want to share it. I've added a configurationfile, so anyone can adapt it to his/her requirements.
Note: I don't want to prevent anyone from buying the official DVD, but maybe you'll find it usefull to download the packages when performing a fresh install of current.
Advantage of the script is that one has less downloadsize and one can exclude package-series from downloading (in the conf-file).
Here is the configfile, it has to be saved as "getslack.conf" in the same directory as the script.
Code:
For the installation I use the bootable usb-image or create a minimal install-CD (CD1 without any packages) like here ftp://ftp.gwdg.de/pub/linux/slackwar...nux/README.TXT explained.
View 1 Replies
View Related