close
Warning:
Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Oct 10, 2014, 9:29:56 PM (10 years ago)
- Author:
-
ssugrim
- Comment:
-
—
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v13
|
v14
|
|
110 | 110 | }}} |
111 | 111 | |
112 | | Next edit /etc/nsswitch.conf file so that is has the follow non comment lines: |
| 112 | After this script is run, we will need to point the dns resolver to the localhost. To do this edit ''/etc/network/interfaces'' file and change the '''dns-nameservers''' line to use '''localhost''', e.g.: |
| 113 | {{{ |
| 114 | # The primary network interface |
| 115 | auto eth2 |
| 116 | iface eth2 inet static |
| 117 | address 10.50.0.249 |
| 118 | netmask 255.255.0.0 |
| 119 | gateway 10.50.0.1 |
| 120 | dns-nameservers localhost |
| 121 | |
| 122 | }}} |
| 123 | then restart the networking service to reflect the DNS change: |
| 124 | {{{ |
| 125 | /etc/init.d/networking restart |
| 126 | }}} |
| 127 | Once this setting is done you can test the local dns by tring to resolve node names e.g.: |
| 128 | {{{ |
| 129 | host node1.geni.rutgers.edu |
| 130 | node1.geni.rutgers.edu has address 10.1.1.1 |
| 131 | }}} |
| 132 | External name resolution should also work. |
| 133 | |
| 134 | Next edit ''/etc/nsswitch.conf'' file so that is has the follow non comment lines: |
113 | 135 | {{{ |
114 | 136 | passwd: files ldap compat |