DNS - nslookup error

Hi All,

I have a small issue when running nslookup from a client machine.

My DNS server is running on Leap 15.2 and is called “Levin” with an ip address of x.x.x.30, when I run nslookup I get the following

C:"truncated"nslookup
Default Server: UnKnown
Address: x.x.x.30

On my Leap 15.2 DNS server I have a bonded network interface with DNS Lookup set to 127.0.0.1, I have created forward and reverse entries for Levin.folly.office - Am getting confused with all the “google” posts about how to resolve it :-(.

Regards

There is an important, but not easy to find feature on the forums.

Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

An example is here: Using CODE tags Around your paste.

Which DNS server are you using?
Have you followed the methods described here? – <https://doc.opensuse.org/documentation/leap/reference/html/book-opensuse-reference/cha-dns.html&gt;.
Are you configuring manually or, with the YaST module? – package “yast2-dns-server” …

I have discovered another issue - when adding records they are not be saved - even after a reboot.

I am using yast control centre then network services dns server.

I have followed the guide (personally its too vague - not much use for folks like me with little or no experience).

I deleted both forward and reverse entries reloaded named and added afresh.

I can now add records but have to reload named each time, but now my reverse lookups are not working as well as my nslookup error.

So confused.

Chapter 19: The Domain Name System recommends reading section 13.3 Name Resolution: https://doc.opensuse.org/documentation/leap/reference/html/book-opensuse-reference/cha-network.html#sec-network-nameres Read that and follow the references to more openSUSE stuff herein.:wink:

@GOKIWI:

You can either install the “bind-doc” package or, consult the “BIND Administrator Reference Manual” here – <https://bind9.readthedocs.io/en/v9_16_16/>.

  • Somewhat lighter reading, How To’s and so on, is here – <https://www.bind9.net/links>.
  • O’Reilly have a DNS and BIND System Administrator reference and a Cookbook – ISBN 0-596-10057-4 and ISBN 0-596-00410-9 – The Cookbook is sufficient for my needs …

[INDENT=2]<https://www.bind9.net/books>
[/INDENT]

Hi All, Thanks for the replies - having spent almost all of today trying to sort these issues out I am admitting defeat - All the reading in the world does not help solve real world problems.

According to the documentation via the links provided everything is correct (I am only using yast - webgui as I cannot get on with the command line/file editors).

I should add that I have also tried webmin and while I can create zones and add to them the issues still persist.

As a test I fired up my old Win 2012 server deleted DHCP/DNS and reinstalled - within 30 minutes both were working as expected.

My first guess: This is an easy exercise. My second guess: Yast2 > DHCP/DNS is faster. :stuck_out_tongue:

I have a small issue when running nslookup from a client machine.

My DNS server is running on Leap 15.2 and is called “Levin” with an ip address of x.x.x.30, when I run nslookup I get the following

C:"truncated"nslookup
Default Server: UnKnown
Address: x.x.x.30

On my Leap 15.2 DNS server I have a bonded network interface with DNS Lookup set to 127.0.0.1, I have created forward and reverse entries for Levin.folly.office - Am getting confused with all the “google” posts about how to resolve it :-(.

Start with a working DHCP/DNS configuration. I happened to install Leap 15.3 a few days ago. nslookup works fine on client:

Leap-15-3:~ # nslookup fritz.box
Server:         192.168.178.1
Address:        192.168.178.1#53

Name:   fritz.box
Address: 192.168.178.1
Name:   fritz.box
Address: fd00:...
Name:   fritz.box
Address: 2001:..
Leap-15-3:~ # nslookup erlangen
Server:         192.168.178.1
Address:        192.168.178.1#53

Name:   erlangen.fritz.box
Address: 192.168.178.20
Name:   erlangen.fritz.box
Address: 2001:..

Leap-15-3:~ # 

Try again with a pristine configuration.

Just a question purely out of curiosity –

  • Why are you setting up a DNS (BIND) server on your LAN/WLAN?

[HR][/HR]And another question, purely out of curiosity –

  • How are you connecting to the Internet?

I have spent my working life playing with switches/routers/firewalls etc but very little OS experience - everyone seems to be able to build windows servers (including me) so I thought I would try and learn a little Linux , then decided well I can build a domain controller with DHCP/DNS etc so can I do it with Linux ?.

I also have multiple devices that make perfect targets.

There is now improved and more comprehensive documentation for Leap 15.3 (merged from SUSE Enterprise Linux:https://doc.opensuse.org/documentation/leap/reference/html/book-reference/cha-dhcp.html#sec-dhcp-yast

Then there are three topics to be learnt –

You’ll also need to learn LDAP to allow the DHCP daemon to use a database back-end – <https://doc.opensuse.org/documentation/leap/security/html/book-security/cha-security-ldap.html&gt; – Note that, Leap 15.2 uses OpenLDAP; Leap 15.3 uses the 389 Directory Server …

Security issues here – <https://doc.opensuse.org/documentation/leap/security/html/book-security/cha-security-ad.html&gt;.