Koozali.org: home of the SME Server

Requiring to add dns IP for router

Offline byte

  • *
  • 2,183
  • +2/-0
Requiring to add dns IP for router
« on: June 28, 2018, 12:43:21 PM »
Hi guys,

Having a bit of a brain freeze moment as I've had a new BT 21cn put in and a cisco router, now I've tested the new IP range on a Windows laptop which I needed to include google DNS address in the primary and secondary box but when I reconfigured the SME box I couldn't remember where I needed to add the google DNS addresses...I tried the Corporate DNS under DOMAINS in server manager but i could not ping (unknown host) google.com - unlike my old adsl router that had DNS configured on the router itself this cisco router does not hold any dns and I need to configure on SME

What am I missing guys  :-?

Many thanks :)
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Requiring to add dns IP for router
« Reply #1 on: June 28, 2018, 12:59:37 PM »

What am I missing guys  :-?


Just let SME handle it's own DNS queries ? Just run the setup and leave the DNS box empty, unless you have a pressing need for wanting Gobble to know every single site you go to.....

I believe there is a contrib that lets you modify DNS  - i think it is smeserrver-dhcpmanager

https://wiki.contribs.org/Dhcpmanager
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Requiring to add dns IP for router
« Reply #2 on: June 28, 2018, 02:51:36 PM »
Just let SME handle it's own DNS queries ? Just run the setup and leave the DNS box empty, unless you have a pressing need for wanting Gobble to know every single site you go to.....

That is what I did originally, I re-configured the server / gateway with the new external IP and Gateway left everything as default and rebooted...but I couldn't ping www.bbc.co.uk for example - unknown host, this is why I thought I needed to include DNS.

Thanks John I'll go back and put my thinking cap on.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Requiring to add dns IP for router
« Reply #3 on: June 28, 2018, 03:13:27 PM »
That is what I did originally, I re-configured the server / gateway with the new external IP and Gateway left everything as default and rebooted...but I couldn't ping www.bbc.co.uk for example - unknown host, this is why I thought I needed to include DNS.

Thanks John I'll go back and put my thinking cap on.

No worries. I'm no guru on this - just trying to think logically !

I'm wondering what is going on inside your Cisco - is it passing DNS requests upstream ?

SME will try to resolve stuff by itself, but if it can't it should look upstream.

If you set your W10 client DNS manually to Gobble then of course it will bypass SME.

You would normally let SME be your client Primary DNS via DHCP as that will let it resolve local queries for you. Then you decide whether SME handles upstream DNS itself, or you tell it to use a.n.other service eg Gobble.

Have you tried to check the router (AND BT!!!!) is letting DNS stuff through? i.e try setting DNS to Gobble manually on the W10 client and does it lookup?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Requiring to add dns IP for router
« Reply #4 on: June 28, 2018, 03:38:06 PM »
No worries. I'm no guru on this - just trying to think logically !

I'm wondering what is going on inside your Cisco - is it passing DNS requests upstream ?

Have you tried to check the router (AND BT!!!!) is letting DNS stuff through? i.e try setting DNS to Gobble manually on the W10 client and does it lookup?

Me too :) - I don't believe it is as I set up a Windows laptop and manually set the IP details without the DNS at first and I couldn't look up bbc.co.uk, it was only after I added the Primary and Secondary DNS in the Windows IP box I was able to get internet access which makes me think the Cisco router doesn't hold any DNS addresses.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Requiring to add dns IP for router
« Reply #5 on: June 28, 2018, 08:39:19 PM »
Quite possibly the Cisco is set just to nat/route, though usually most routers do some form of DNS themselves on the basis they do DHCP for a network. Depends on how it has been configured.

Personally I'd ignore it and let SME do your DHCP + DNS (depending how SME & the Cisco are configured)

I usually set my routers as static or pass through and ignore them and let SME do the work.

If you really want SME to use upstream servers for external DNS then use the contrib. Makes it easier and you can swap to your hearts content :-)

Unless you have a real strong reason to use Gobble you could use opendns for upstream.

Personally I hate giving any more info than necessary to Gobble etc. They have enough power & control as it is.

Back to Blighty tomorrow... balmy Bolton then bloody Burnham.  Hear it's a tad warm over there  :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Requiring to add dns IP for router
« Reply #6 on: June 29, 2018, 12:39:20 PM »
Quite possibly the Cisco is set just to nat/route, though usually most routers do some form of DNS themselves on the basis they do DHCP for a network. Depends on how it has been configured.

Looks like a call to BT was what it took as now working as expected with SME doing the DNS resolving :) - appreciate your feed back as always!

Quote
Back to Blighty tomorrow... balmy Bolton then bloody Burnham.  Hear it's a tad warm over there  :-)

It is ridiculously warm, but as always in the UK it'll only last a week then more like late Autumn weather will arrive :) 
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Requiring to add dns IP for router
« Reply #7 on: June 29, 2018, 01:59:34 PM »
Looks like a call to BT was what it took as now working as expected with SME doing the DNS resolving :) - appreciate your feed back as always!

Ha !!!! Class. Please you got it sorted.

Quote
It is ridiculously warm, but as always in the UK it'll only last a week then more like late Autumn weather will arrive :)

30C here is a cool summers day :-)

I had seen - fires on Saddleworth look bad. We've experience of how awful that is here - been evacuated before because of them. Not fun.

Sure you are right though - a few weeks and it will be out with the thermals again !
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Requiring to add dns IP for router
« Reply #8 on: August 06, 2018, 09:20:17 PM »
This is done by logging into the console as "admin" rather than "root", and is near the end of the configuration process. Personally, I've been using "Quad 9" as an additional defense against malicious links.
...

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: Requiring to add dns IP for router
« Reply #9 on: August 07, 2018, 01:26:37 PM »
... "Quad 9"...

Thanks; I had not run across Quad 9 before.