Re: purely local DNS

2024-07-17 Thread Adam Weremczuk
Thanks for the hint Todd. I've replaced it with: smtp_dns_support_level = disabled and it's still working as expected. --- Adam On 15/07/2024 18:49, Todd Zullinger wrote: It's probably worth noting that `disable_dns_lookups` has been deprecated for a long time. The postconf(5) man page sa

Re: purely local DNS

2024-07-16 Thread Adam Weremczuk
My intention was to send emails to a single domain with any other email traffic being disabled. In order to achieve this I considered smart host, dnsmasq and even bind9. The 3-liner solution that I've found seems the simplest, least intrusive and appears to be working fine. On 16/07/2024 01

Re: purely local DNS

2024-07-15 Thread Max Nikulin
On 15/07/2024 20:00, Adam Weremczuk wrote: - ability to fetch a single MX record for a single domain I assume that you are not trying to achieve "smart host" configuration for sending mail. Perhaps you can run a dedicated dnsmasq instance with no upstream DNS servers. Option that might help

Re: purely local DNS

2024-07-15 Thread Andy Smith
Hi, On Mon, Jul 15, 2024 at 09:55:06PM +0800, Jeff Pang wrote: > > > > > I get: > > > > 0A032940922 657 Mon Jul 15 14:40:01 user1@mymachine > > (Host or domain name not found. Name service error for name=example.com > > type=MX: Host not found, try again) > > Any SMTP client which does no

Re: purely local DNS

2024-07-15 Thread Todd Zullinger
Adam Weremczuk wrote: > I'm using Postfix and this all that was needed: > > /etc/hosts > 1.2.3.4 example.com > > /etc/postfix/main.cf > disable_dns_lookups = yes > smtp_host_lookup = native It's probably worth noting that `disable_dns_lookups` has been deprecated for a long time. The post

Re: purely local DNS

2024-07-15 Thread Adam Weremczuk
I'm using Postfix and this all that was needed: /etc/hosts 1.2.3.4 example.com /etc/postfix/main.cf disable_dns_lookups = yes smtp_host_lookup = native

Re: purely local DNS

2024-07-15 Thread Greg Wooledge
On Mon, Jul 15, 2024 at 14:49:21 +0100, Adam Weremczuk wrote: > I want to achieve the first objective and the values are static. > I just hoped there is a one liner hack (like A records in /etc/hosts) to > achieve this vs reconfiguring my MTA. Routing Internet email in the absence of functioning D

Re: purely local DNS

2024-07-15 Thread Jeff Pang
I get: 0A032940922 657 Mon Jul 15 14:40:01 user1@mymachine (Host or domain name not found. Name service error for name=example.com type=MX: Host not found, try again) Any SMTP client which does not fall back to the A record when no MX records exists is fundamentally broken. -- Je

Re: purely local DNS

2024-07-15 Thread Jeff Pang
I didn’t test it but no MX was found then local MTA should try A record for delivery. As a proof that safe-mail.net has no mx but A record only. Regards On 2024-07-15 21:45, Adam Weremczuk wrote: It doesn't work. mail.example.com record doesn't exist to start with. Even if I add: 1.2.3.4

Re: purely local DNS

2024-07-15 Thread Adam Weremczuk
I want to achieve the first objective and the values are static. I just hoped there is a one liner hack (like A records in /etc/hosts) to achieve this vs reconfiguring my MTA. On 15/07/2024 14:33, Greg Wooledge wrote: On Mon, Jul 15, 2024 at 14:00:03 +0100, Adam Weremczuk wrote: What I need

Re: purely local DNS

2024-07-15 Thread Adam Weremczuk
It doesn't work. mail.example.com record doesn't exist to start with. Even if I add: 1.2.3.4 example.com 5.6.7.8 mail.example.com to /etc/hosts I get: 0A032940922 657 Mon Jul 15 14:40:01 user1@mymachine (Host or domain name not found. Name service error for name=example.com type=MX: Ho

Re: purely local DNS

2024-07-15 Thread Greg Wooledge
On Mon, Jul 15, 2024 at 14:00:03 +0100, Adam Weremczuk wrote: > What I need to configure for my Debian 12 VM: > - no public or LAN DNS whatsoever > - ability to fetch a single MX record for a single domain > > I don't think I can add MX to /etc/hosts which only works for A records. > > I'm after

Re: purely local DNS

2024-07-15 Thread Jeff Pang
Given you want to send mail to foo.com whose mx record is mail.foo.com whose IP is 1.2.3.4 Then write this entry in hosts file: 1.2.3.4 foo.com Which should work for sending mail. Regards On 2024-07-15 21:00, Adam Weremczuk wrote: What I need to configure for my Debian 12 VM: - no public

purely local DNS

2024-07-15 Thread Adam Weremczuk
What I need to configure for my Debian 12 VM: - no public or LAN DNS whatsoever - ability to fetch a single MX record for a single domain I don't think I can add MX to /etc/hosts which only works for A records. I'm after a similarly simple, "one liner" solution. --- Adam

Re: Bind9 local DNS not forwarding query to public DNS

2024-03-12 Thread Dan Ritter
secure nodes using our local DNS, which is > functioning correctly. > > So I force assign all VPN user local DNS so that they can access the secure > records and local DNS can forward their query to public DNS in case the > record is not found in the zone file. > > locally eve

Re: Bind9 local DNS not forwarding query to public DNS

2024-03-12 Thread Eduardo M KALINOWSKI
ll VPN users to be able to resolve these secure nodes using our local DNS, which is functioning correctly. So I force assign all VPN user local DNS so that they can access the secure records and local DNS can forward their query to public DNS in case the record is not found in the zon

Bind9 local DNS not forwarding query to public DNS

2024-03-12 Thread Muhammad Yousuf Khan
Dear All, Need your experience advice, We have a BIND9 DNS server that operates both privately and publicly for the domain example xyz.com. I use the private DNS for certain secure nodes on our local network. I want all VPN users to be able to resolve these secure nodes using our local DNS

Re: problem with local DNS

2023-06-05 Thread Maureen L Thomas
Sorry for the double post but I did not see the first answer any where.  Thank you.  It was a lot easier than I thought it would be.  Again Thank you. On 6/5/23 3:45 AM, Brad Rogers wrote: On Mon, 05 Jun 2023 08:49:11 +0200 Michel Verdier wrote: Hello Michel, I already answered to your pro

Re: problem with local DNS

2023-06-05 Thread Brad Rogers
On Mon, 05 Jun 2023 08:49:11 +0200 Michel Verdier wrote: Hello Michel, >I already answered to your problem : I suspect OP is of the belief that we will respond to them directly and, as a consequence, they are not reading the list. -- Regards _ "Valid sig separator is {dash}{dash}{spac

Re: Fwd: problem with local DNS

2023-06-04 Thread Michel Verdier
Le 5 juin 2023 Maureen L. Thomas a écrit : > Forwarded Message > Subject: problem with local DNS > > I am using a Lonova all in one computer with the latest debian on it.  > Bullseye is working fine except for the warning I get as follows:  your > current

Fwd: problem with local DNS

2023-06-04 Thread Maureen L Thomas
Forwarded Message Subject:problem with local DNS Date: Fri, 2 Jun 2023 18:53:47 -0400 From: Maureen L Thomas To: debian-user@lists.debian.org I am using a Lonova all in one computer with the latest debian on it.  Bullseye is working fine except for the

Re: problem with local DNS

2023-06-03 Thread Michel Verdier
Le 3 juin 2023 Maureen L. Thomas a écrit : > I am using a Lonova all in one computer with the latest debian on it.  > Bullseye is working fine except for the warning I get as follows:  your > current proxy settings do not allow local DNS req > (network.proxy.socks_remote)dns). I

problem with local DNS

2023-06-02 Thread Maureen L Thomas
I am using a Lonova all in one computer with the latest debian on it.  Bullseye is working fine except for the warning I get as follows:  your current proxy settings do not allow local DNS req (network.proxy.socks_remote)dns). I have the nordvpn installed and I wonder if that is part of the

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Feb 24, 2018 at 07:43:16PM +0300, Reco wrote: > Hi. [...] > Figures. Certain ISPs are unable to implement DNSSec even if someone's > life would depend on it. A figure of speech, just in case. Touché :-D Cheers - -- t -BEGIN PGP SI

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Reco
Hi. Let me reorder it a bit. On Sat, Feb 24, 2018 at 02:20:57PM +, Aero Maxx wrote: > On 24 February 2018 at 13:16, Aero Maxx wrote: > > > On 24 February 2018 at 12:56, Reco wrote: > > > >> So, a SERVFAIL. That's curious, to say the least. > >> > >> OK, let's try this: > >> > >> 1)

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Aero Maxx
Is there anything I can do to make it work with dnssec-validation set to auto? If I change the forwarding ip addresses to the google public dns servers it works with auto, but the other virgin media address for dns don't work with auto, why is that, have they configured something different to goog

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Reco
Hi. On Sat, Feb 24, 2018 at 12:42:04PM +, Aero Maxx wrote: > On 24 February 2018 at 12:36, Reco wrote: > > > Ok, what about this (again, run it from the malfunctioning DNS, root is > > needed for the second and third command): > > > > dig in a debian.org @127.0.0.1 > > > > ss -nplu >

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Aero Maxx
On 24 February 2018 at 12:36, Reco wrote: > Ok, what about this (again, run it from the malfunctioning DNS, root is > needed for the second and third command): > > dig in a debian.org @127.0.0.1 > > ss -nplu > > iptables-save > I've attached the output of those commands also now. > > As previo

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Reco
Hi. On Sat, Feb 24, 2018 at 12:13:31PM +, Aero Maxx wrote: > On 24 February 2018 at 11:37, Reco wrote: > > > Ok, that actually gives us something. > > > > First things first, Virgin Media uses different nameservers, according > > to the RIPE, at least. They are ns[1-4].virginmedia.ne

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Aero Maxx
On 24 February 2018 at 11:37, Reco wrote: > Ok, that actually gives us something. > > First things first, Virgin Media uses different nameservers, according > to the RIPE, at least. They are ns[1-4].virginmedia.net. > > Second, these cache[12].service.viginmedia.net you're trying to use as > forw

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Reco
Hi. There's no need to Cc me, I'm subscribed to the list. On Sat, Feb 24, 2018 at 10:58:49AM +, Aero Maxx wrote: > Ok well I wasn't aware pastebin wasn't allowed, I was wary of pasting a > huge wall of text from all the commands and the output of the files I was > asked for right into

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Aero Maxx
On 24 February 2018 at 10:26, Reco wrote: > Hi. > > Please don't use pastebin for this. This list archives should contain > not only the solution, but a clear problem statement also. > > So, following "show, don't tell principle": > > # dig in a debian.org +trace +recurse > > ; <<>> DiG 9

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Reco
Hi. On Sat, Feb 24, 2018 at 10:13:18AM +, Aero Maxx wrote: > Firstly thank you all very much for the replies, and sorry for the vague > information, that wasn't intentional I didn't know what you would need and > also I wasn't aware of the commands you ask for the output from. > > On

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-24 Thread Aero Maxx
Firstly thank you all very much for the replies, and sorry for the vague information, that wasn't intentional I didn't know what you would need and also I wasn't aware of the commands you ask for the output from. On 23 February 2018 at 18:06, Reco wrote: > Please invoke this on one of the proble

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-23 Thread Greg Wooledge
gt; that has been setup correctly I believe on the local DNS server. What domain name did you choose for your local area network? What software are you using on the DNS server? How is it configured? Did you use a combined nameserver + recursive resolver on a single host, or did you separate the f

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-23 Thread Roberto C . Sánchez
On Fri, Feb 23, 2018 at 05:57:21PM +, Aero Maxx wrote: >I was wondering if someone would be as so kind to point me in the right >direction for what I am trying to achieve. [snip vague problem description] What is the output of 'ip addr ls' and 'ip route ls' on one of the Linux clients

Re: Setting up a local DNS server but clients that use it can't access the internet

2018-02-23 Thread Reco
Hi. On Fri, Feb 23, 2018 at 05:57:21PM +, Aero Maxx wrote: > If someone is able to point in the right direction I would be ever so > grateful! Please invoke this on one of the problematic client hosts: dig in a debian.org +trace +recurse dig in a google.com +trace +recurse Reco

Setting up a local DNS server but clients that use it can't access the internet

2018-02-23 Thread Aero Maxx
are on the local network by a hostname that has been setup correctly I believe on the local DNS server. The clients are able to use the dns server when specified as a nameserver on linux in the resolv.conf file and as a dns server on windows, I have only tested this with the linux clients at present

local dns caching on a webserver

2014-06-29 Thread Roland RoLaNd
Hello, I have a very busy webserver running apache2 checking /proc/net/ip_conntrack and filtering port 53 i noticed that i have around 50 000 dns query in under 200 second. destinations are by order:- memcache cluster- database- external web services I can't add these in my /etc/hosts file as the

Re: Local DNS

2011-01-26 Thread Pascal Hambourg
Hello, Jesus arteche a écrit : > > Now I have a debian server, and a bind installed working as a local > dns(cache), with 3 zones...it work the next way: > > - One a petition occurs, it check the domain asked > - if teh domain is a zone configured in the local dns, it solve

Re: Local DNS

2011-01-25 Thread Chris Davies
Jesus arteche wrote: > Now I have a debian server, and a bind installed working as a local > dns(cache), with 3 zones...it work the next way: > - One a petition occurs, it check the domain asked > - if teh domain is a zone configured in the local dns, it solve it in local > - If

Re: Local DNS

2011-01-25 Thread Rob Owens
On Tue, Jan 25, 2011 at 01:29:22PM +0100, Jesus arteche wrote: > Hi, > > > Now I have a debian server, and a bind installed working as a local > dns(cache), with 3 zones...it work the next way: > > - One a petition occurs, it check the domain asked > - if teh domain is

Local DNS

2011-01-25 Thread Jesus arteche
Hi, Now I have a debian server, and a bind installed working as a local dns(cache), with 3 zones...it work the next way: - One a petition occurs, it check the domain asked - if teh domain is a zone configured in the local dns, it solve it in local - If it's not a zone, it forward the pet

Re: Local DNS?

2001-08-17 Thread Oleksandr Moskalenko
* Jeffrey Nowakowski ([EMAIL PROTECTED]) wrote: > Is there some way I can use a local DNS server to cache DNS queries? > I ask because my current DNS server is sometimes slow; I have a cable > modem and configure DNS automatically through DHCP. Ideally I'd like > to configure a

Re: Local DNS?

2001-08-17 Thread Bud Rogers
On Friday 17 August 2001 06:46 pm, Jeffrey Nowakowski wrote: > Is there some way I can use a local DNS server to cache DNS queries? > I ask because my current DNS server is sometimes slow; I have a cable > modem and configure DNS automatically through DHCP. Ideally I'd like > to

Local DNS?

2001-08-17 Thread Jeffrey Nowakowski
Is there some way I can use a local DNS server to cache DNS queries? I ask because my current DNS server is sometimes slow; I have a cable modem and configure DNS automatically through DHCP. Ideally I'd like to configure a local DNS server to use the cable's DNS, but cache host l

Re: Resolving Local DNS Numbers

2001-08-10 Thread Michael Heldebrant
It sounds to me like once you connect to the internet you're looking for sacrifice.whatever.your.domain.from.your.cable.modem.is.supplied.to.your.dhcpd.is ;> Take a look at your /etc/hosts file there should be a line 127.0.0.1 localhost and then a name for the internal ip address of the machine a

Re: Resolving Local DNS Numbers

2001-08-10 Thread Aquarion
Michael Heldebrant took 36 tacks to pin this to the wall of linux.debian.user >What does your DNS machines resolv.conf look like? [EMAIL PROTECTED]:/etc$ cat resolv.conf nameserver 127.0.0.1 > What domain do your >clients think they are on. What domain does your nameserver think it's >on? I h

Re: Resolving Local DNS Numbers

2001-08-10 Thread Michael Heldebrant
What does your DNS machines resolv.conf look like? What domain do your clients think they are on. What domain does your nameserver think it's on? --mike On 10 Aug 2001 12:49:16 +0100, Nick Avenell wrote: > I have a nicely working DNS server for my little home network. Having read > the HOWTO, I

Resolving Local DNS Numbers

2001-08-10 Thread Nick Avenell
I have a nicely working DNS server for my little home network. Having read the HOWTO, I was happy to discover that Debian automagically sets things up so they work properly. DTRT, as ever. Anyway, I have a small problem which I hope you could help me with. As soon as anything *uses* the DNS s

Re: Local DNS?

2001-05-28 Thread Karsten M. Self
on Sun, May 27, 2001 at 03:07:32PM -0400, Sunny Dubey ([EMAIL PROTECTED]) wrote: > hi, > > what I would I need to run a DNS on a local network? I don't need > something full blown like an ISP would have, rather, I just need something > that will tie names to local IPs like 10.x.x.x. > > If anyo

Re: Local DNS?

2001-05-27 Thread Casper Gielen
On Sun, May 27, 2001 at 03:07:32PM -0400, Sunny Dubey wrote: > hi, > > what I would I need to run a DNS on a local network? I don't need > something full blown like an ISP would have, rather, I just need something > that will tie names to local IPs like 10.x.x.x. > In the past I've used pdns,

Re: Local DNS?

2001-05-27 Thread ktb
On Sun, May 27, 2001 at 03:07:32PM -0400, Sunny Dubey wrote: > hi, > > what I would I need to run a DNS on a local network? I don't need > something full blown like an ISP would have, rather, I just need something > that will tie names to local IPs like 10.x.x.x. > > If anyone knows, please res

Re: Local DNS?

2001-05-27 Thread Alson van der Meulen
On Sun, May 27, 2001 at 03:07:32PM -0400, Sunny Dubey wrote: > hi, > > what I would I need to run a DNS on a local network? I don't need > something full blown like an ISP would have, rather, I just need something > that will tie names to local IPs like 10.x.x.x. bind, it's quite easy to setup f

Local DNS?

2001-05-27 Thread Sunny Dubey
hi, what I would I need to run a DNS on a local network? I don't need something full blown like an ISP would have, rather, I just need something that will tie names to local IPs like 10.x.x.x. If anyone knows, please respond, thanks Sunny Dubey