LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-03-2015, 09:52 AM   #1
daithi_dearg
LQ Newbie
 
Registered: Oct 2015
Location: Cork, Ireland
Distribution: Ubuntu 18.04
Posts: 19

Rep: Reputation: Disabled
DNS issues with Syslog


Hello,

I have a Windows Syslog server with 2 interfaces with 2 addresses. We can call these 1 and 2.

This server has lots of other applications on it so it'll be difficult to make a global change here.

Initially in my /etc/rsyslog.conf for the Syslog client I had my hostname entry but I was able to add both of the IP entries here and I could hash out them one by one so I know which is the correct entry.

nslookup resolves to both addresses.

My DNS server is located on the Windows Active Directory machine and from my own machine and the affected Redhat machine if I ping the host name I ping address 1 but the Syslog works by having address 2 in the Config file.

Another Linux machine has the hostname specified and it pings with address 2.

I thought all the configuration for this would be in /etc/resolv.conf but perhaps I need to be looking elsewhere. Also I assume on Linux DNS cache shouldn't be an issue.

If you think it sounds like a Network issue I can look for some linux boxes on the same switch that has similar problems.

Regards,
David
 
Old 12-03-2015, 12:29 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,251

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
?Have you added anything to /etc/hosts? any fixed IPs could go there

/etc/host.conf:
order hosts, bind
multi on

hosts is checked first.This might save not finding your next door neighbour.
 
Old 12-04-2015, 11:59 AM   #3
daithi_dearg
LQ Newbie
 
Registered: Oct 2015
Location: Cork, Ireland
Distribution: Ubuntu 18.04
Posts: 19

Original Poster
Rep: Reputation: Disabled
Nothing bar the loopback in hosts:
Code:
[user@git ~]$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
Code:
[user@git ~]$ cat /etc/host.conf
multi on
 
Old 12-04-2015, 02:54 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,251

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
stick in any local host to ip resolution, which saves dns Before dns (70s) it used be 200k+
 
  


Reply

Tags
dns


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vulnerabilities in syslog and dns anonb Linux - Security 2 01-09-2014 02:53 AM
DNS issues, Downloading issues, Web issues. UbuntuHelp Linux - Networking 1 08-28-2012 07:34 AM
syslog-ng not resolving DNS names noir911 Linux - Server 2 07-28-2008 03:02 AM
syslog-ng & DNS iakor Linux - Server 0 06-23-2008 11:26 PM
Syslog and DNS ddelao Linux - Networking 3 04-30-2005 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration