Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #109810 > unrolled thread

how to configure dns to use tls

Started byElectric Comet <electric-comet@mail.invalid>
First post2017-10-26 20:56 -0700
Last post2017-10-27 19:02 +0000
Articles 17 — 9 participants

Back to article view | Back to comp.sys.mac.system


Contents

  how to configure dns to use tls Electric Comet <electric-comet@mail.invalid> - 2017-10-26 20:56 -0700
    Re: how to configure dns to use tls Percival John Hackworth <pjh@nanoworks.com> - 2017-10-27 06:35 -0700
    Re: how to configure dns to use tls Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-10-27 11:03 -0400
    Re: how to configure dns to use tls JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-27 14:50 -0400
      Re: how to configure dns to use tls Alan Baker <alangbaker@telus.net> - 2017-10-27 11:56 -0700
        Re: how to configure dns to use tls JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-27 15:17 -0400
          Re: how to configure dns to use tls Alan Baker <alangbaker@telus.net> - 2017-10-27 12:24 -0700
          Re: how to configure dns to use tls Barry Margolin <barmar@alum.mit.edu> - 2017-10-28 13:44 -0400
            Re: how to configure dns to use tls Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-10-28 15:15 -0400
            Re: how to configure dns to use tls Mallocy <null@mail.mn> - 2017-10-29 10:20 +0000
              Re: how to configure dns to use tls Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-10-29 14:49 -0400
                Re: how to configure dns to use tls Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-29 19:25 +0000
              Re: how to configure dns to use tls Barry Margolin <barmar@alum.mit.edu> - 2017-10-29 15:17 -0400
                Re: how to configure dns to use tls Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-29 19:26 +0000
                Re: how to configure dns to use tls Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-10-29 16:53 -0400
      Re: how to configure dns to use tls nospam <nospam@nospam.invalid> - 2017-10-27 14:57 -0400
      Re: how to configure dns to use tls Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-27 19:02 +0000

#109810 — how to configure dns to use tls

FromElectric Comet <electric-comet@mail.invalid>
Date2017-10-26 20:56 -0700
Subjecthow to configure dns to use tls
Message-ID<osuap8$32n$1@dont-email.me>
is dns over tls supported on sierra or high sierra


this is a thing now so i am guessing it is possible but maybe i missed
something while poking around in the config

does it have to be done by editing files

resolv.conf


hmmm maybe setting up my own dns on the lan will do









[toc] | [next] | [standalone]


#109811

FromPercival John Hackworth <pjh@nanoworks.com>
Date2017-10-27 06:35 -0700
Message-ID<0001HW.1FA36D8D00B93EFF1595A12CF@news.individual.net>
In reply to#109810
On 26-Oct-2017, Electric Comet wrote
(in article <osuap8$32n$1@dont-email.me>):

>
> is dns over tls supported on sierra or high sierra
>
> this is a thing now so i am guessing it is possible but maybe i missed
> something while poking around in the config
>
> does it have to be done by editing files
>
> resolv.conf
>
> hmmm maybe setting up my own dns on the lan will do

I've never had to edit any of the /etc files to configure my system's 
networking.

There's a System Control Panel for Networking. You fill it out. One of the 
fields is the default router. If your ISP setup their networking correctly, 
your home's router should be the DNS gateway. Or you can specify one in the 
Advanced settings. I use Google's (8.8.8.8, 8.8.6.6).

[toc] | [prev] | [next] | [standalone]


#109812

FromAlan Browne <alan.browne@freelunchvideotron.ca>
Date2017-10-27 11:03 -0400
Message-ID<COidnbLFj_9X127EnZ2dnUU7-WHNnZ2d@giganews.com>
In reply to#109810
On 2017-10-26 23:56, Electric Comet wrote:
> 
> is dns over tls supported on sierra or high sierra
> 
> 
> this is a thing now so i am guessing it is possible but maybe i missed
> something while poking around in the config
> 
> does it have to be done by editing files
> 
> resolv.conf
> 
> 
> hmmm maybe setting up my own dns on the lan will do

TLS is used in iOS and OS X for DNS per the link below.  (Not sure how 
far back).

https://developer.apple.com/library/content/qa/qa1727/_index.html

The real issue is knowing if the DNS server supports TLS.  Since it's a 
recent thing I'd suspect that a lot of local ISP servers are not yet TLS 
compliant for DNS.

eg: My ISP declares TLS compliant for mail (IMAP and POP) on the 
appropriate ports, but not clear for DNS.

[toc] | [prev] | [next] | [standalone]


#109814

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2017-10-27 14:50 -0400
Message-ID<59f37ffb$0$12845$b1db1813$5890f3ee@news.astraweb.com>
In reply to#109810
On 2017-10-26 23:56, Electric Comet wrote:
> 
> is dns over tls supported on sierra or high sierra


Does DNS over TLS exist?


DNSsec is not encrypted. But has cryptographic keys that allow the
client to ensure the response is authentic.

[toc] | [prev] | [next] | [standalone]


#109815

FromAlan Baker <alangbaker@telus.net>
Date2017-10-27 11:56 -0700
Message-ID<osvvg5$s8b$1@gioia.aioe.org>
In reply to#109814
On 2017-10-27 11:50 AM, JF Mezei wrote:
> On 2017-10-26 23:56, Electric Comet wrote:
>>
>> is dns over tls supported on sierra or high sierra
> 
> 
> Does DNS over TLS exist?


'Specification for DNS over Transport Layer Security (TLS)

Abstract

    This document describes the use of Transport Layer Security (TLS) to
    provide privacy for DNS.  Encryption provided by TLS eliminates
    opportunities for eavesdropping and on-path tampering with DNS
    queries in the network, such as discussed in RFC 7626.  In addition,
    this document specifies two usage profiles for DNS over TLS and
    provides advice on performance considerations to minimize overhead
    from using TCP and TLS with DNS.

    This document focuses on securing stub-to-recursive traffic, as per
    the charter of the DPRIVE Working Group.  It does not prevent future
    applications of the protocol to recursive-to-authoritative traffic.'

<https://tools.ietf.org/html/rfc7858>

That was the very first hit for a search of "dns tls".

> 
> 
> DNSsec is not encrypted. But has cryptographic keys that allow the
> client to ensure the response is authentic.
> 

[toc] | [prev] | [next] | [standalone]


#109818

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2017-10-27 15:17 -0400
Message-ID<59f3864a$0$22551$b1db1813$7ad5c21@news.astraweb.com>
In reply to#109815
On 2017-10-27 14:56, Alan Baker wrote:

> 'Specification for DNS over Transport Layer Security (TLS)
> <https://tools.ietf.org/html/rfc7858>

Thanks.

I attended DNSsec sessions and the developpers said the focus was not on
encryption but rather on the ability to authenticate a response.

using TSL does not prevent the DNS server from giving you false
information.

The Québec govt for instance wants ISPs to block any gambling site that
competes against its own gambling company. To do so, it will force ISPs
to falsify DNS responses to thir retail customers.

TLS will not prevent that. But DNSsec will let clients know they
received a false response from the DNS server.

Can you use TLS to connect to the root servers? Does Verisign support
TLS for the TLDs it manages (such as .com) ?

or is DNS-TLS implememnted only on the fringes ?

[toc] | [prev] | [next] | [standalone]


#109819

FromAlan Baker <alangbaker@telus.net>
Date2017-10-27 12:24 -0700
Message-ID<ot014n$vdm$1@gioia.aioe.org>
In reply to#109818
On 2017-10-27 12:17 PM, JF Mezei wrote:
> On 2017-10-27 14:56, Alan Baker wrote:
> 
>> 'Specification for DNS over Transport Layer Security (TLS)
>> <https://tools.ietf.org/html/rfc7858>
> 
> Thanks.
> 
> I attended DNSsec sessions and the developpers said the focus was not on
> encryption but rather on the ability to authenticate a response.

Whatever.

What matters here is that (as usual) you didn't bother to do even a very 
modest amount of work to check out the subject yourself.

> 
> using TSL does not prevent the DNS server from giving you false
> information.
> 
> The Québec govt for instance wants ISPs to block any gambling site that
> competes against its own gambling company. To do so, it will force ISPs
> to falsify DNS responses to thir retail customers.
> 
> TLS will not prevent that. But DNSsec will let clients know they
> received a false response from the DNS server.
> 
> Can you use TLS to connect to the root servers? Does Verisign support
> TLS for the TLDs it manages (such as .com) ?
> 
> or is DNS-TLS implememnted only on the fringes ?
> 

[toc] | [prev] | [next] | [standalone]


#109832

FromBarry Margolin <barmar@alum.mit.edu>
Date2017-10-28 13:44 -0400
Message-ID<barmar-418E92.13441828102017@reader.eternal-september.org>
In reply to#109818
In article <59f3864a$0$22551$b1db1813$7ad5c21@news.astraweb.com>,
 JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> On 2017-10-27 14:56, Alan Baker wrote:
> 
> > 'Specification for DNS over Transport Layer Security (TLS)
> > <https://tools.ietf.org/html/rfc7858>
> 
> Thanks.
> 
> I attended DNSsec sessions and the developpers said the focus was not on
> encryption but rather on the ability to authenticate a response.
> 
> using TSL does not prevent the DNS server from giving you false
> information.

The purpose of DNS over TLS is to protect the privacy of the querier, 
much like HTTP over TLS keeps someone from sniffing your login 
information, credit card details, etc. If someone (e.g. your ISP) 
captures your DNS traffic they can tell what web sites you're going to 
from the names you look up.

Of course, if you use your ISP's DNS servers they can do the same thing 
by logging the DNS queries, so you would have to use a third-party DNS 
resolver. But then THEY can track you.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

[toc] | [prev] | [next] | [standalone]


#109833

FromAlan Browne <alan.browne@freelunchvideotron.ca>
Date2017-10-28 15:15 -0400
Message-ID<4e6dnYcBcZjtSmnEnZ2dnUU7-c_NnZ2d@giganews.com>
In reply to#109832
On 2017-10-28 13:44, Barry Margolin wrote:
> In article <59f3864a$0$22551$b1db1813$7ad5c21@news.astraweb.com>,
>   JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> 
>> On 2017-10-27 14:56, Alan Baker wrote:
>>
>>> 'Specification for DNS over Transport Layer Security (TLS)
>>> <https://tools.ietf.org/html/rfc7858>
>>
>> Thanks.
>>
>> I attended DNSsec sessions and the developpers said the focus was not on
>> encryption but rather on the ability to authenticate a response.
>>
>> using TSL does not prevent the DNS server from giving you false
>> information.
> 
> The purpose of DNS over TLS is to protect the privacy of the querier,

+1

> much like HTTP over TLS keeps someone from sniffing your login
> information, credit card details, etc. If someone (e.g. your ISP)
> captures your DNS traffic they can tell what web sites you're going to
> from the names you look up.

It's meant as a MitM protection.

> 
> Of course, if you use your ISP's DNS servers they can do the same thing
> by logging the DNS queries, so you would have to use a third-party DNS
> resolver. But then THEY can track you.

I suppose a nicely paranoid DNS fetch would be via TOR while using TLS.

As to the DNS server, caveat to the user as always.  Why I'm not a fan 
of 8.8.8.8 and 8.8.4.4 as a DNS server except as a backup if having issues.

[toc] | [prev] | [next] | [standalone]


#109842

FromMallocy <null@mail.mn>
Date2017-10-29 10:20 +0000
Message-ID<59f5ab55$0$57810$b1db1813$c4f79d86@news.astraweb.com>
In reply to#109832
On 2017-10-28, Barry Margolin <barmar@alum.mit.edu> wrote:
[...]
> The purpose of DNS over TLS is to protect the privacy of the querier, 
> much like HTTP over TLS keeps someone from sniffing your login 
> information, credit card details, etc. If someone (e.g. your ISP) 
> captures your DNS traffic they can tell what web sites you're going to 
> from the names you look up.

If someone captures your traffic they can tell what web sites you're
going to.

>
> Of course, if you use your ISP's DNS servers they can do the same thing 
> by logging the DNS queries, so you would have to use a third-party DNS 
> resolver. But then THEY can track you.
>

yes. A good argument for running one's own DNS server: I highly
recommend 'unbound'.

[toc] | [prev] | [next] | [standalone]


#109847

FromAlan Browne <alan.browne@freelunchvideotron.ca>
Date2017-10-29 14:49 -0400
Message-ID<-I6dnfMDLpIzv2vEnZ2dnUU7-XfNnZ2d@giganews.com>
In reply to#109842
On 2017-10-29 06:20, Mallocy wrote:
> On 2017-10-28, Barry Margolin <barmar@alum.mit.edu> wrote:
> [...]
>> The purpose of DNS over TLS is to protect the privacy of the querier,
>> much like HTTP over TLS keeps someone from sniffing your login
>> information, credit card details, etc. If someone (e.g. your ISP)
>> captures your DNS traffic they can tell what web sites you're going to
>> from the names you look up.
> 
> If someone captures your traffic they can tell what web sites you're
> going to.
> 
>>
>> Of course, if you use your ISP's DNS servers they can do the same thing
>> by logging the DNS queries, so you would have to use a third-party DNS
>> resolver. But then THEY can track you.
>>
> 
> yes. A good argument for running one's own DNS server: I highly
> recommend 'unbound'.

How much disk space / memory does that take?

Do you run it on a separate physical system? (existing server?)

How does it get updated?  How often?  What source?

332 M domain names out there:
https://www.verisign.com/en_US/domain-names/dnib/index.xhtml

[toc] | [prev] | [next] | [standalone]


#109849

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2017-10-29 19:25 +0000
Message-ID<slrnovcaq1.1q6v.g.kreme@snow.local>
In reply to#109847
In message <-I6dnfMDLpIzv2vEnZ2dnUU7-XfNnZ2d@giganews.com> Alan Browne <alan.browne@freelunchvideotron.ca> wrote:
> On 2017-10-29 06:20, Mallocy wrote:
>> On 2017-10-28, Barry Margolin <barmar@alum.mit.edu> wrote:
>> [...]
>>> The purpose of DNS over TLS is to protect the privacy of the querier,
>>> much like HTTP over TLS keeps someone from sniffing your login
>>> information, credit card details, etc. If someone (e.g. your ISP)
>>> captures your DNS traffic they can tell what web sites you're going to
>>> from the names you look up.
>> 
>> If someone captures your traffic they can tell what web sites you're
>> going to.
>> 
>>>
>>> Of course, if you use your ISP's DNS servers they can do the same thing
>>> by logging the DNS queries, so you would have to use a third-party DNS
>>> resolver. But then THEY can track you.
>>>
>> 
>> yes. A good argument for running one's own DNS server: I highly
>> recommend 'unbound'.

> How much disk space / memory does that take?

Statistically none. 

> Do you run it on a separate physical system? (existing server?)

You can run unbound on pretty much anything. I think there are some
toasters with enough processing to run it.

> How does it get updated?  How often?  What source?

Like all unix stuff, it gets updated by you updating it. The source is
generally source code that is compiled to produce a binary.

For the mac the simplest way is probably through homebrew, but compiling
the source manually is trivial.

> 332 M domain names out there:

So what?


-- 
'Never trust a ruler who puts his faith in tunnels and bunkers and
escape routes. The chances are that his heart isn't in the job.'

[toc] | [prev] | [next] | [standalone]


#109848

FromBarry Margolin <barmar@alum.mit.edu>
Date2017-10-29 15:17 -0400
Message-ID<barmar-E3D491.15171929102017@reader.eternal-september.org>
In reply to#109842
In article <59f5ab55$0$57810$b1db1813$c4f79d86@news.astraweb.com>,
 Mallocy <null@mail.mn> wrote:

> On 2017-10-28, Barry Margolin <barmar@alum.mit.edu> wrote:
> [...]
> > The purpose of DNS over TLS is to protect the privacy of the querier, 
> > much like HTTP over TLS keeps someone from sniffing your login 
> > information, credit card details, etc. If someone (e.g. your ISP) 
> > captures your DNS traffic they can tell what web sites you're going to 
> > from the names you look up.
> 
> If someone captures your traffic they can tell what web sites you're
> going to.

Not necessarily, as many web sites share the same IP. If the DNS and 
HTTP traffic are all encrypted, you can't tell which name was used to 
get to the site.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

[toc] | [prev] | [next] | [standalone]


#109850

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2017-10-29 19:26 +0000
Message-ID<slrnovcara.1q6v.g.kreme@snow.local>
In reply to#109848
In message <barmar-E3D491.15171929102017@reader.eternal-september.org> Barry Margolin <barmar@alum.mit.edu> wrote:
> In article <59f5ab55$0$57810$b1db1813$c4f79d86@news.astraweb.com>,
>  Mallocy <null@mail.mn> wrote:

>> On 2017-10-28, Barry Margolin <barmar@alum.mit.edu> wrote:
>> [...]
>> > The purpose of DNS over TLS is to protect the privacy of the querier, 
>> > much like HTTP over TLS keeps someone from sniffing your login 
>> > information, credit card details, etc. If someone (e.g. your ISP) 
>> > captures your DNS traffic they can tell what web sites you're going to 
>> > from the names you look up.
>> 
>> If someone captures your traffic they can tell what web sites you're
>> going to.

> Not necessarily, as many web sites share the same IP. If the DNS and 
> HTTP traffic are all encrypted, you can't tell which name was used to 
> get to the site.

Nearly no DNS traffic is encrypted though.

-- 
No one ever thinks of themselves as one of Them. We're always one of Us.
It's Them that do the bad things.

[toc] | [prev] | [next] | [standalone]


#109853

FromAlan Browne <alan.browne@freelunchvideotron.ca>
Date2017-10-29 16:53 -0400
Message-ID<IaidnVNw1vVHomvEnZ2dnUU7-RfNnZ2d@giganews.com>
In reply to#109848
On 2017-10-29 15:17, Barry Margolin wrote:
> In article <59f5ab55$0$57810$b1db1813$c4f79d86@news.astraweb.com>,
>   Mallocy <null@mail.mn> wrote:
> 
>> On 2017-10-28, Barry Margolin <barmar@alum.mit.edu> wrote:
>> [...]
>>> The purpose of DNS over TLS is to protect the privacy of the querier,
>>> much like HTTP over TLS keeps someone from sniffing your login
>>> information, credit card details, etc. If someone (e.g. your ISP)
>>> captures your DNS traffic they can tell what web sites you're going to
>>> from the names you look up.
>>
>> If someone captures your traffic they can tell what web sites you're
>> going to.
> 
> Not necessarily, as many web sites share the same IP. If the DNS and
> HTTP traffic are all encrypted, you can't tell which name was used to
> get to the site.

If someone is curious about your habits he would be interested in the 
name of the site you're looking for.  Not its IP address.

[toc] | [prev] | [next] | [standalone]


#109816

Fromnospam <nospam@nospam.invalid>
Date2017-10-27 14:57 -0400
Message-ID<271020171457032295%nospam@nospam.invalid>
In reply to#109814
In article <59f37ffb$0$12845$b1db1813$5890f3ee@news.astraweb.com>, JF
Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> Does DNS over TLS exist?

<https://tools.ietf.org/html/rfc7858>
  Specification for DNS over Transport Layer Security (TLS)

[toc] | [prev] | [next] | [standalone]


#109817

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2017-10-27 19:02 +0000
Message-ID<slrnov70l9.16hb.g.kreme@snow.local>
In reply to#109814
In message <59f37ffb$0$12845$b1db1813$5890f3ee@news.astraweb.com> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> On 2017-10-26 23:56, Electric Comet wrote:
>> 
>> is dns over tls supported on sierra or high sierra

> Does DNS over TLS exist?

Yes

<https://tools.ietf.org/html/rfc7858>

> DNSsec

No one said DNS Sec.

-- 
You know, Rick, I have many a friend in Casablanca, but somehow, just
because you despise me, you are the only one I trust.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.mac.system


csiph-web