06-28-2001
Have you checked that the /etc/nsswitch.conf has the following entry
hosts: files dns
It may be that your machine hasn't got the dns entry so is trying to resolve addresses using only the /etc/hosts file.
As for the default gateway you could add the route add command to one of the system startup scripts, maybe rc.local (in linux anyway).
Andy
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Allright,
Thanks to http://docs.sun.com I've got the tcp/ip portion of my box working now. I can see anything I want, as long as it's got a numerical address.
Does anyone know how to add just a DNS entry? like reference my dns server, and configure my host name? (1 Reply)
Discussion started by: veitcha
1 Replies
2. IP Networking
I have managed to setup my Solaris box to receive an IP number from a DHCP server. In addition, I can ping and telnet between my dhcp server and my solaris box using the IP number. However, I can't resolve addresses by name from my solaris box.
In my nsswitch.conf file I have:
hosts: dns
... (4 Replies)
Discussion started by: marist89
4 Replies
3. UNIX for Dummies Questions & Answers
I installed bind 9 on Solaris 9 (intel) but don't know how to have the named service start on bootup. Is there a script hidden somewhere? (2 Replies)
Discussion started by: kiddaniels
2 Replies
4. Solaris
How do I set the Primary and secondary DNS name server for a Sparc IIi running Solaris 9. I have already put them in the resolv.conf file but they still do not work. (5 Replies)
Discussion started by: Atreus
5 Replies
5. Solaris
hey guys, how to add soalris box as a microsoft DNS Client ?
and how to register in the microsoft DNS ??
i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf
but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies
6. Solaris
We need a DNS Server on DNS 10. What the best product can i buy and install ?
Help me, pls.
Tks all. (1 Reply)
Discussion started by: quan0509
1 Replies
7. Solaris
hi all
forgive my ignorance, but when IVe set up DNS Ive put in the various server details in the /etc/resolv.conf and away I go. Suddenly Ive been reading about DNS, and I need to created a /etc/named.conf file.
so, my question is this. DNS, what part does the /etc/resolv.conf play in... (3 Replies)
Discussion started by: sbk1972
3 Replies
8. Solaris
Hi all,
I have configured dns on solaris 10 and it is working fine but i want to add some other domains in this dns like yahoo and gmail. but i have no idea how to do this. I have added zone entry in named.conf and created a seperate zone file under /var/named/db.gmail.com. but when i use... (4 Replies)
Discussion started by: sikander
4 Replies
9. Solaris
Hi all
Long time no speak, I hope you are all well.
Im looking at a DNS issue here and reckon Igot a AD / DNS server issue elsewhere but need to rule out the configuration of my two server's first.
IVe got the nameserver enteries in /etc/resolv.conf and dns in the /etc/nsswitch.conf
... (2 Replies)
Discussion started by: sbk1972
2 Replies
10. Solaris
Hi,
We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 Replies
LEARN ABOUT XFREE86
nss-systemd
NSS-SYSTEMD(8) nss-systemd NSS-SYSTEMD(8)
NAME
nss-systemd, libnss_systemd.so.2 - Provide UNIX user and group name resolution for dynamic users and groups.
SYNOPSIS
libnss_systemd.so.2
DESCRIPTION
nss-systemd is a plug-in module for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc), providing UNIX user and
group name resolution for dynamic users and groups allocated through the DynamicUser= option in systemd unit files. See systemd.exec(5) for
details on this option.
This module also ensures that the root and nobody users and groups (i.e. the users/groups with the UIDs/GIDs 0 and 65534) remain resolvable
at all times, even if they aren't listed in /etc/passwd or /etc/group, or if these files are missing.
To activate the NSS module, add "systemd" to the lines starting with "passwd:" and "group:" in /etc/nsswitch.conf.
It is recommended to place "systemd" after the "files" or "compat" entry of the /etc/nsswitch.conf lines so that /etc/passwd and /etc/group
based mappings take precedence.
EXAMPLE
Here is an example /etc/nsswitch.conf file that enables nss-systemd correctly:
passwd: compat mymachines systemd
group: compat mymachines systemd
shadow: compat
hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
SEE ALSO
systemd(1), systemd.exec(5), nss-resolve(8), nss-myhostname(8), nss-mymachines(8), nsswitch.conf(5), getent(1)
systemd 237 NSS-SYSTEMD(8)